{# Bulk actions and saved views. The row checkboxes live in the lists and point at #bulk-form with the form attribute, so everything works as plain form posts. #} {% from "_macros.html" import icon %} {% macro bulk_flash(request) -%} {% set flash = request.query_params.get("bulk") %} {% if flash %}

{{ flash }}

{% endif %} {%- endmacro %} {# Folded until a row is ticked (static/app.js shows it then); without script, a disclosure. #} {% macro bulk_bar(request) -%}
Select several…
{%- endmacro %} {% macro bulk_check(id) -%} {%- endmacro %} {% macro views_panel(request) -%} {% set views = saved_views() %}
Saved views{% if views %} {{ views | length }}{% endif %} {% if views %} {% endif %}
{%- endmacro %}