Rearrange source to src dir.
[redakcja.git] / src / catalogue / templates / catalogue / chunk_edit.html
1 {% extends "catalogue/base.html" %}
2 {% load i18n %}
3
4
5 {% block titleextra %}{% trans "Chunk settings" %}{% endblock %}
6
7
8 {% block content %}
9     <h1>{% trans "Chunk settings" %}</h1>
10
11         <form enctype="multipart/form-data" method="POST" action="{% if go_next %}?next={{ go_next }}{% endif %}">
12     {% csrf_token %}
13     <table class='editable'>
14         <tr><th>{% trans "Book" %}:</th><td>{{ chunk.book }} ({{ chunk.number }}/{{ chunk.book|length }})</td></tr>
15         {{ form.as_table}}
16         <tr><td></td><td><button type="submit">{% trans "Save" %}</button></td></tr>
17     </table>
18
19         </form>
20
21
22     <p><a href="{% url "catalogue_chunk_add" chunk.book.slug chunk.slug %}">{% trans "Split chunk" %}</a></p>
23
24 {% endblock content %}