Merge branch 'master' of git+ssh://github.com/fnp/wolnelektury
[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: 100%">
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         {% endfor %}
14         {% if search_form %}
15             <li>{{ search_form.q }} {{ search_form.tags }}</li>
16         {% endif %}
17     </ul>
18     <input type="submit" value="{% trans "Search" %}" style="float: left; {% if tag_list %}margin-top: 10px; height: 32px;{% else %}margin-top: 10px; {% endif %}"/>
19     </div>
20     <div class="clearboth"></div>
21 </form>