{% macro dropdown_menu(type, title, tabs, is_selected) %} {# type -- string (e.g. 'queue', 'log') title -- translation string (e.g. _('Queues')) tabs -- list of url/tab_code/tab_text tuples is_selected -- boolean condition to highlight this element #} {% if tabs %} {% set tab_url = tabs[0][0] %} {{ title }} {% endif %} {% endmacro %} {% macro tabnav(type, tab, tabs, no_search_toggle) %} {# type -- string (e.g. 'queue', 'log') tabs -- list of named_url/tab_code/tab_text tuples #} {% endmacro %} {% macro log_filter(type, form) %} {# type -- string (e.g. 'apps', 'themes') #}
{{ form.start.label_tag() }} {{ form.start }} {{ form.end.label_tag() }} {{ form.end }} {{ form.search.label_tag() }} {{ form.search }} {# L10n: "Filter" is a button label (verb) #}
{% endmacro %}