Removed that annoying banner ;) Next year, make this an admin option.
[wolnelektury.git] / wolnelektury / templates / catalogue / book_sets.html
1 <h2>Wrzuć lekturę na półkę</h2>
2 {% if not user.tag_set.count %}
3     <p>Nie posiadasz żadnych półek. Jeśli chcesz, możesz utworzyć nową półkę poniżej.</p>
4 {% else %}
5     <form action="{% url catalogue.views.book_sets book.slug %}" method="POST" accept-charset="utf-8" class="cuteform">
6     <ol>
7         <li>{{ form.set_ids }}</li>
8         <li><input type="submit" value="Wrzuć na półkę"/></li>
9     </ol>
10     </form>
11 {% endif %}
12 <hr />
13 <form action="{% url catalogue.views.new_set %}" method="POST" accept-charset="utf-8" class="cuteform">
14 <ol>
15     <li>{{ new_set_form.name }} <input type="submit" value="Utwórz nową półkę"/></li>
16 </ol>
17 </form>