<div class="row align-items-center">
<div class="col"><h1 class="mb-0">{{ block('title') }}</h1></div>
{% if list_actions is defined %}
<div class="col-auto">
<div class="row row-sm row-sm-h">
{% for action in list_actions %}
<div class="col-auto">
{% set class = action.custom_class is defined ? ' ' ~ action.custom_class : '' %}
{% if action.type is defined %}
{% if action.type == 'add' %}
{% set class = class ~ " btn btn-lg btn-icon btn-tertiary rounded-circle" %}
{% elseif action.type == 'return' %}
{% set class = class ~ " link text-white text-hover-tertiary" %}
{% endif %}
{% endif %}
<a href="{{ action.path }}" class="{{ class }}"
{% if action.link_attributes_custom is defined %}
{% for key, value in action.link_attributes_custom %}
{{ key }}="{{ value }}"
{% endfor %}
{% endif %}
>
{% if action.icon is defined %}<i class="mai{{ action.title is defined ? ' me-2' : '' }}">{{ action.icon }}</i>{% endif %}{{ action.title is defined ? action.title : '' }}
</a>
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>