{% load i18n %} {% for action in actions %} {% if all or tablet and action.tablet or mobile and action.mobile %}
{% if action.template %} {% include action.template %} {% else %} {% if action.submit %} {% else %} {{ action.name }} {% endif %} {% endif %}
{% endif %} {% endfor %} {% if tablet and action_button.tablet or mobile and action_button.mobile %}
{% endif %}