{% if request|mobile or request|tablet %}
{% with grouped_actions=actions|group_by_icon %}
{% for action in grouped_actions.with_icon %}
{% if target != 'instance' or target == 'instance' and action.key in enabled %}
{{ action.icon|icontag }}
{% endif %}
{% endfor %}
{% if grouped_actions.without_icon %}
{% for action in grouped_actions.without_icon %}
{% if target != 'instance' or target == 'instance' and action.key in enabled %}