fix thumbnail issues + some cleanup
[redakcja.git] / apps / catalogue / templates / catalogue / book_delete.html
1 {% extends "catalogue/base.html" %}
2 {% load i18n %}
3
4 {% block inner_content %}
5     <a href="{% url 'catalogue_user' %}">{% trans "My resources" %}</a> /
6     {% if doc.owner_organization %}
7         <a href="{% url 'organizations_main' doc.owner_organization.pk %}">{{ doc.owner_organization }}</a>
8     {% else %}
9         {{ doc.owner_user.get_full_name }}
10     {% endif %} /
11     <h1 style='margin-bottom: 1em'>{{ doc.meta.title }}</h1>
12
13     <p>{% trans "Really delete the resource?" %}</p>
14
15     <form enctype="multipart/form-data" method="POST">
16     {% csrf_token %}
17         <button style="margin-top:1em;" class="btn btn-danger" type="submit">{% trans "Delete" %}</button>
18         <a  style="margin-top:1em;" class="btn btn-default" href="{% url 'catalogue_html' doc.pk %}">{% trans "Cancel" %}</a>
19     </form>
20
21 {% endblock %}