{% for c in action.contacts.all %}
{{ c.fullname }}
{% if not c.entity.is_single_contact %}
({{ c.entity }})
{% endif %}
{% if not action.type.hide_contacts_buttons %}
{% endif %}
{% endfor %}
{% for e in action.entities.all %}
{{ e }}
{% if not action.type.hide_contacts_buttons %}
{% endif %}
{% endfor %}