{# One toolbox group's actions: each opens in place to its form, or drags onto the canvas. Ids are numbered within the group, so two instruments with a method of the same name can be open side by side. #} {% set panel = 'actions-' ~ (instrument | replace('.', '-')) %} {% if forms | length > 10 %} {% endif %}
{% for name, form in forms.items() %} {% set action_id = panel ~ '-' ~ loop.index %} {% include 'components/action_form.html' %} {% endfor %}
{% if not forms %}
{{ 'No registered workflows for this deck.' if instrument == 'workflows' else 'Nothing to add.' }}
{% endif %}