Librarian in regular requirements.
[redakcja.git] / apps / catalogue / templates / catalogue / document_upload.html
index 87e93e0..009d154 100644 (file)
@@ -2,6 +2,9 @@
 {% load i18n %}
 
 
+{% block titleextra %}{% trans "Bulk document upload" %}{% endblock %}
+
+
 {% block leftcolumn %}
 
 
@@ -11,7 +14,7 @@
 {% trans "Please submit a ZIP with UTF-8 encoded XML files. Files not ending with <code>.xml</code> will be ignored." %}
 </p>
 
-<form enctype="multipart/form-data" method="POST" action="">
+<form enctype="multipart/form-data" method="POST" action="{{ request.path }}">
 {% csrf_token %}
 {{ form.as_p }}
 <p><button type="submit">{% trans "Upload" %}</button></p>
@@ -45,7 +48,7 @@
         <h3>{% trans "Uploaded files" %}</h3>
         <ul id='ok-list'>
         {% for filename, slug, title in ok_list %}
-            <li><a href='{% url wiki_editor slug %}'>{{ title }}</a> (<code>{{ filename }})</a></li>
+            <li><a href='{% url "wiki_editor" slug %}'>{{ title }}</a> (<code>{{ filename }})</a></li>
         {% endfor %}
         </ul>
     {% endif %}