{# ── Bulk-action toolbar for the inspections list ───────────────────────────── Included by BOTH inspections/list.html and modern/inspections/list.html — edit here, not in either copy. Same structure as the issues toolbar: the form sits OUTSIDE the table and row checkboxes join it via the HTML5 `form` attribute, so the per-row delete form inside the table is never nested (rule 9). Export is offered to anyone who can see the list — it is read-only and the route re-applies the viewer's facility scope to the submitted ids. The three mutating actions are admin/director only. #} {% set can_manage = current_user.role in ['admin', 'director'] %}
0 selected | {% if can_manage %}
{% endif %}