{% if editmode %}
<div class="edit-box">
<h1>KONFIGURATIONEN FÜR DEN AREABRICK:</h1>
<div class="flex gap-20">
<div class="content flex column gap-20">
<div class="content-box flex gap-20">
<div class="item">
<p class="edit-p">Abstand nach unten wählen:</p>
{{ pimcore_select("MarginBottom", {
"reload": true,
"store": [
["regular", "Normal"],
["half", "1/2"],
["small", "1/4"],
["zero", "kein Abstand"],
],
"defaultValue" : "regular"
}) }}
</div>
</div>
</div>
</div>
</div>
{% endif %}
<section class="zitat {{ pimcore_select('MarginBottom').getData() }}">
<div class="container big">
{% if not editmode %}
<div class="zitat-hexagon hexagon as-hex">
{{ include('svg/hexagon.html.twig') }}
</div>
{% endif %}
{% if editmode %}
<p class="zitat-headline">
{{ pimcore_textarea("headline",{
"required": true,
"nl2br": true,
"height": 150,
"class": "zitat-headline",
"placeholder": "Call-to-action Text"
}) }}
</p>
{% elseif not editmode and not pimcore_textarea('headline').isEmpty() %}
<p class="zitat-headline">{{ pimcore_textarea('headline').getData() | nl2br }}</p>
{% endif %}
{% if editmode %}
<div class="zitat-link" style="margin-bottom: 0;">
{{ pimcore_link("link",{
"required": true,
"nl2br": true,
"height": 30,
"class": "button",
"placeholder": "Button text"
}) }}
</div>
{% elseif not editmode and not pimcore_link('link').isEmpty() %}
<a href="{{ pimcore_link('link').href }}" class="zitat-link button">
<span>{{ pimcore_link('link').getText() }}</span>
{{ include('svg/arrow-right.html.twig') }}
</a>
{% endif %}
</div>
</section>