{#
Title: Title & Text
Description: Standard Title and text block
Category: formatting
Icon: admin-comments
Keywords: title text textblock header
Mode: preview
Align: full
SupportsAlign: full false
#}
{% extends '/views/parts/logic/block-settings.twig' %}
{% block blocksettings  %}
    {% block TitleText %}
        <div class="title-text {{ outer_classes }}">
            <div class="content align-content-center {{ inner_classes }}">
                {% if fields.title %}
                    <h3>{{ fields.title }}</h3>
                {% endif %}
                <div class="text-block">{{ fields.text }}</div>
                {% for buttons in fields.buttons %}
                    {% for button in buttons %}
                        {% if button != "" %}
                            {{ include('views/parts/button.twig') }}
                        {% endif %}
                    {% endfor %}
                {% endfor %}
            </div>
        </div>
    {% endblock %}
{% endblock %}