Added breadcrumbs tag to catalogue_tags library.
[wolnelektury.git] / templates / catalogue / breadcrumbs.html
diff --git a/templates/catalogue/breadcrumbs.html b/templates/catalogue/breadcrumbs.html
new file mode 100644 (file)
index 0000000..896d999
--- /dev/null
@@ -0,0 +1,9 @@
+{% load catalogue_tags %}
+<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
+    <ol>
+        {% for tag in tag_list %}
+        <li class="category"><a href="{% catalogue_url tag %}">{{ tag }}</a> | <a href="{% catalogue_url tag_list -tag %}">x</a></li>
+        {% endfor %}
+        <li>{{ search_form.q }} {{ search_form.tags }} <input type="submit" value="Szukaj"/></li>
+    </ol>
+</form>
\ No newline at end of file