Librarian in regular requirements.
[redakcja.git] / apps / catalogue / templates / catalogue / chunk_edit.html
index 94fe12b..2006226 100755 (executable)
@@ -1,14 +1,24 @@
 {% extends "catalogue/base.html" %}
 {% load i18n %}
 
-{% block leftcolumn %}
+
+{% block titleextra %}{% trans "Chunk settings" %}{% endblock %}
+
+
+{% block content %}
+    <h1>{% trans "Chunk settings" %}</h1>
+
        <form enctype="multipart/form-data" method="POST" action="{% if go_next %}?next={{ go_next }}{% endif %}">
     {% csrf_token %}
-       {{ form.as_p }}
+    <table class='editable'>
+        <tr><th>{% trans "Book" %}:</th><td>{{ chunk.book }} ({{ chunk.number }}/{{ chunk.book|length }})</td></tr>
+        {{ form.as_table}}
+        <tr><td></td><td><button type="submit">{% trans "Save" %}</button></td></tr>
+    </table>
 
-       <p><button type="submit">{% trans "Save" %}</button></p>
        </form>
-{% endblock leftcolumn %}
 
-{% block rightcolumn %}
-{% endblock rightcolumn %}
+
+    <p><a href="{% url "catalogue_chunk_add" chunk.book.slug chunk.slug %}">{% trans "Split chunk" %}</a></p>
+
+{% endblock content %}