X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fadccea9dfcbacc70e113abb17444654e2e926c3..aecf53f483f0b587e97e843eec37a129c9eb9503:/wolnelektury/templates/catalogue/book_sets.html

diff --git a/wolnelektury/templates/catalogue/book_sets.html b/wolnelektury/templates/catalogue/book_sets.html
index e17c51348..2b713b465 100644
--- a/wolnelektury/templates/catalogue/book_sets.html
+++ b/wolnelektury/templates/catalogue/book_sets.html
@@ -1,5 +1,11 @@
 {% load i18n %}
 <h2>{% trans "Put a book on the shelf!" %}</h2>
+<a href="#" id="createShelfTrigger">{% trans "Create new shelf" %}</a>
+<form id="createNewShelf" action="{% url catalogue.views.new_set %}" method="POST" accept-charset="utf-8" class="cuteform">
+<ol>
+    <li>{{ new_set_form.name }} <input type="submit" value="{% trans "Create new shelf" %}"/></li>
+</ol>
+</form>
 {% if not user.tag_set.count %}
     <p>{% trans "You do not have any shelves. You can create one below, if you want to."%}</p>
 {% else %}
@@ -10,9 +16,3 @@
     </ol>
     </form>
 {% endif %}
-<hr />
-<form action="{% url catalogue.views.new_set %}" method="POST" accept-charset="utf-8" class="cuteform">
-<ol>
-    <li>{{ new_set_form.name }} <input type="submit" value="{% trans "Create new shelf" %}"/></li>
-</ol>
-</form>
\ No newline at end of file