{% extends "ui/base-devices.html" %} {% load url from future %} {% load icons %} {% load formats %} {% load bob %} {% block sidebar %} {% if searchform %}
{% for f in searchform %} {% if 'data-collapsed' not in f.field.widget.attrs %}
{{ f.label_tag }} {{ f }} {% for e in f.errors %}
{{ e }}
{% empty %} {% if f.help_text %}
{{ f.help_text }}
{% endif %} {% endfor %}
{% endif %} {% endfor %} {% if not searchform_filter %}
{% spaceless %} {% icon 'fugue-ui-accordion' %} More… {% endspaceless %}
{% for f in searchform %} {% if 'data-collapsed' in f.field.widget.attrs %}
{{ f.label_tag }} {{ f }} {% for e in f.errors %}
{{ e }}
{% empty %} {% if f.help_text %}
{{ f.help_text }}
{% endif %} {% endfor %}
{% endif %} {% endfor %}
{% endif %} {% if searchform_filter %} {% else %} {% endif %}
{% endif %} {% if sidebar_items %} {% sidebar_menu sidebar_items sidebar_selected %} {% endif %} {% endblock %}