{% macro collection_add(label) %}
    <button class="btn btn-add form-collection--add">
        {{- label|length > 0 ? label : 'action.add.label'|trans({}, 'action') -}}
    </button>
{% endmacro %}

{% macro collection_delete(label) %}
    <button
        class="btn delete-element form-collection--delete"
        title="{{- label|length > 0 ? label : 'action.delete.label'|trans({}, 'action') -}}"
    >
        {{- label|length > 0 ? label : 'action.delete.label'|trans({}, 'action') -}}
    </button>
{% endmacro %}

{% macro step_back() %}
    <a class="btn btn-back" href="{{ path('step_back') }}">
        {{ 'word.previous'|trans({}, 'word') }}
    </a>
{% endmacro %}
