X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8236368dcf8d49214946e291300e29622fd26aaf..5979e56d461e0e9d8b44d338d1b91175bca0b4de:/wolnelektury/templates/catalogue/breadcrumbs.html?ds=inline

diff --git a/wolnelektury/templates/catalogue/breadcrumbs.html b/wolnelektury/templates/catalogue/breadcrumbs.html
index b3441bac5..5aafeb974 100644
--- a/wolnelektury/templates/catalogue/breadcrumbs.html
+++ b/wolnelektury/templates/catalogue/breadcrumbs.html
@@ -1,21 +1,24 @@
 {% load i18n %}
 {% load catalogue_tags %}
-<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form" style="float:left;">
-    <div style="width: 100%">
+<div id="searchContainer">
+    <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
     <ul class="facelist-selections" style="float:left;">
         {% for tag in tag_list %}
         <li class="facelist-selection-item">
-	<span style="margin-left: 5px;">
-	<a href="{% catalogue_url tag %}">{{ tag }}</a>
-	<a class="facelist-close" href="{% catalogue_url tag_list -tag %}">x</a>
-	</span>
-	</li>
+	        <span style="margin-left: 5px;">
+	        <a href="{% catalogue_url tag %}">{{ tag }}</a>
+	        <a class="facelist-close" href="{% catalogue_url tag_list -tag %}">x</a>
+	        </span>
+	    </li>
+        {% empty %}
+            <li class="facelist-selection-item">
+            </li>
         {% endfor %}
         {% if search_form %}
             <li>{{ search_form.q }} {{ search_form.tags }}</li>
         {% endif %}
     </ul>
-    <input type="submit" value="{% trans "Search" %}" style="float: left; {% if tag_list %}margin-top: 10px; height: 32px;{% else %}margin-top: 10px; {% endif %}"/>
-    </div>
-</form>
+    <input type="submit" value="{% trans "Search" %}" id="searchSubmit"/>
+    </form>
+</div>    
 <div class="clearboth"></div>