{#
    UI Element template
    type: button_link
    element fields :
        label
        link
#}
<section class="block-section block-button text-{{ element.align|default('default') }}">
    {% if element.link is defined and element.link is not empty %}
        <a href="{{ element.link }}" class="btn btn-{{ element.style|default('primary') }}">{{ element.label|default('app.ui_element.btn_default'|trans) }}</a>
    {% endif %}
</section>
