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