602dd21ec0dc179b0a045e56780e333bf8c0f6a1
[wolnelektury.git] / wolnelektury / templates / catalogue / book_sets.html
1 {% load i18n %}
2 <h2>{% trans "Put a book on the shelf" %}</h2>
3 {% if not user.tag_set.count %}
4     <p>{% trans "You do not have any shelves. You can create one below, if you want to."%}</p>
5 {% else %}
6     <form action="{% url catalogue.views.book_sets book.slug %}" method="POST" accept-charset="utf-8" class="cuteform">
7     <ol>
8         <li>{{ form.set_ids }}</li>
9         <li><input type="submit" value="{% trans "Put on the shelf" %}"/></li>
10     </ol>
11     </form>
12 {% endif %}
13 <hr />
14 <form action="{% url catalogue.views.new_set %}" method="POST" accept-charset="utf-8" class="cuteform">
15 <ol>
16     <li>{{ new_set_form.name }} <input type="submit" value="{% trans "Create new shelf" %}"/></li>
17 </ol>
18 </form>