Explorar o código

fix: show pagination if it is present

Zubarev Grigoriy hai 7 meses
pai
achega
886bd7d26b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/rural_dict/templates/index.html

+ 1 - 1
src/rural_dict/templates/index.html

@@ -45,6 +45,6 @@
       {% endif %}
     </div>
     <br />
-    {% endfor %} {{ pagination|safe }}
+    {% endfor %} {% if pagination %}{{ pagination|safe }} {% endif %}
   </body>
 </html>