Merge branch 'production'
[wolnelektury.git] / wolnelektury / templates / catalogue / fragment_sets.html
1 {% load i18n %}
2 <h2>{% trans "Shelves containing fragment" %}</h2>
3 {% if not user.tag_set.count %}
4     <p>{% trans "You do not own any shelves. You can create one below, if you want to." %}</p>
5 {% else %}
6     <form action="{% url catalogue.views.fragment_sets fragment.id %}" method="POST" accept-charset="utf-8" class="cuteform">
7     <ol>
8         <li>{{ form.set_ids }}</li>
9         <li><input type="submit" value="{% trans "Save all shelves" %}"/></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>