diff --git a/frontends/etiquette_flask/templates/search.html b/frontends/etiquette_flask/templates/search.html index dd33030..5a4fc37 100644 --- a/frontends/etiquette_flask/templates/search.html +++ b/frontends/etiquette_flask/templates/search.html @@ -146,13 +146,13 @@ form - {{header.make_header(session=session)}} -
- {% for warning in warnings %} +{{header.make_header(session=session)}} +
+ {% for warning in warnings %} {{warning}} - {% endfor %} -
-
+ {% endfor %} +
+
{% for tagtype in ["musts", "mays", "forbids"] %}
@@ -160,13 +160,13 @@ form
    {% set key="tag_" + tagtype %} {% if search_kwargs[key] %} - {% for tagname in search_kwargs[key] %} -
  • - {{tagname}}{{-''-}} - -
  • - {% endfor %} + {% for tagname in search_kwargs[key] %} +
  • + {{tagname}}{{-''-}} + +
  • + {% endfor %} {% endif %}
@@ -184,12 +184,12 @@ form Order by
    {% if "orderby" in search_kwargs and search_kwargs["orderby"] %} - {% for orderby in search_kwargs["orderby"] %} - {% set column, sorter=orderby.split("-") %} - {{ create_orderby_li(selected_column=column, selected_sorter=sorter) }} - {% endfor %} + {% for orderby in search_kwargs["orderby"] %} + {% set column, sorter=orderby.split("-") %} + {{ create_orderby_li(selected_column=column, selected_sorter=sorter) }} + {% endfor %} {% else %} - {{ create_orderby_li(selected_column=0, selected_sorter=0) }} + {{ create_orderby_li(selected_column=0, selected_sorter=0) }} {% endif %}
@@ -252,12 +252,12 @@ form {% do limit_options.sort() %} {% endif %} {% for limit_option in limit_options %} - - {{- limit_option }} items{{-''-}} - + + {{- limit_option }} items{{-''-}} + {% endfor %}