{% if detail_view_action_buttons|length > 1 %}
{% for button in detail_view_action_buttons %} {{ button }} {% if forloop.first %}
{% elif detail_view_action_buttons|length == 1 %} {{ detail_view_action_buttons|first }} {% endif %}