9213adb9f1ffe3b880b25c19623140cfb0e412c7
[wolnelektury.git] / wolnelektury / templates / catalogue / breadcrumbs.html
1 {% load i18n %}
2 {% load catalogue_tags %}
3 <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form" style="float:left;">
4     <div style="width: 900px;">
5     <ul class="facelist-selections" style="float:left;">
6         {% for tag in tag_list %}
7         <li class="facelist-selection-item">
8         <span style="margin-left: 5px;">
9         <a href="{% catalogue_url tag %}">{{ tag }}</a>
10         <a class="facelist-close" href="{% catalogue_url tag_list -tag %}">x</a>
11         </span>
12         </li>
13         {% empty %}
14         <li class="facelist-selection-item">
15         </li>
16         {% endfor %}
17         {% if search_form %}
18             <li>{{ search_form.q }} {{ search_form.tags }}</li>
19         {% endif %}
20     </ul>
21     <input type="submit" value="{% trans "Search" %}" style="float: left; margin-top: 10px; height: 33px;"/>
22     </div>
23 </form>
24 <div class="clearboth"></div>