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