nicer oauth forms
[wolnelektury.git] / wolnelektury / templates / catalogue / breadcrumbs.html
1 {% load i18n %}
2 {% load catalogue_tags %}
3 <div id="searchContainer">
4     <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
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" %}" id="searchSubmit"/>
22     </form>
23 </div>    
24 <div class="clearboth"></div>