{# ── Bulk-action toolbar for the issues list ────────────────────────────────── Included by BOTH issues/list.html and modern/issues/list.html — edit here, not in either copy. The form lives OUTSIDE the table on purpose. Row checkboxes join it with the HTML5 `form="issuesBulkForm"` attribute instead of being wrapped by it, so the per-row delete / unfollow forms inside the table are never nested inside this one (rule 9 — browsers silently discard nested forms, and the row actions would stop working with no error). `next` carries the current filtered list URL so the action returns here rather than to the bare index. Requires from the view: `staff` (assignable users). #} {% set can_manage = current_user.role in ['admin', 'director', 'auditor'] %} {% set can_delete = current_user.role in ['admin', 'director'] %} {% if can_manage or can_delete %}
0 selected | {% if can_manage %}
{% endif %} {% if can_delete %} {% endif %}
{% endif %}