fixes
[redakcja.git] / apps / catalogue / templates / catalogue / image_detail.html
1 {% extends "catalogue/base.html" %}
2 {% load book_list comments i18n %}
3
4 {% block content %}
5
6
7 <h1>{{ object.title }}</h1>
8
9
10 {% if editable %}<form method='POST'>{% csrf_token %}{% endif %}
11 <table class='editable'><tbody>
12     {{ form.as_table }}
13     {% if editable %}
14         <tr><td></td><td><button type="submit">{% trans "Save" %}</button></td></tr>
15     {% endif %}
16 </tbody></table>
17 {% if editable %}</form>{% endif %}
18
19
20 <div class='section'>
21     <h2>{% trans "Comments" %}</h2>
22
23     {% render_comment_list for object %}
24     {% with object.get_absolute_url as next %}
25         {% render_comment_form for object %}
26     {% endwith %}
27 </div>
28
29 {% endblock content %}