{# render footer-template #}
{% if editmode %}
{% do pimcore_placeholder('magazine').set('true') %}
{{ include('Layout/includes/css.html.twig') }}
{% endif %}
{% if editmode %}
<div class="editmode-box editmode-box--info">
<div class="editmode-box__header">Settings</div>
{# TEXT TEASERS #}
<div>
<label>
Color
</label>
<br>
{{ pimcore_select('teaserColor', {'store': [
['yellow', 'yellow'],
['blue', 'blue'],
['purple', 'purple'],
['green', 'green'],
['red', 'red'],
], 'reload': true}) }}
</div>
<div>
<label>
Image (optional)
</label>
{{ pimcore_relation('image', {'types': ['asset'], 'subtypes': ['image'], 'reload': true}) }}
</div>
{#<div>
<label>
Icon (optional)
</label>
<br>
{{ pimcore_select('icon', {'store': [''], 'reload': true}) }}
</div>#}
</div> {# end editmode box #}
{% endif %}
{% if editmode %}
<div class="vertical-gutter__item col-md-4 js-fade-in" style="height: 530px;">
{% endif %}
<section class="simple-text-teaser simple-text-teaser--{{ pimcore_select('teaserColor').getData() | default('green') }} {{ styleModifier | default(null)}} {{ not pimcore_link('button').isEmpty() ? 'stretch-link isCursor' : '' }}">
{% if not editmode %}
{% do jsConfig().add('goToLink', true) %}
{% endif %}
{% if not pimcore_relation('image').empty %}
<div class="simple-text-teaser__embed embed-responsive-cover embed-responsive simple-text-teaser__image">
{{ pimcore_relation('image').element.thumbnail('simple-text-teaser').html({
imgAttributes: {
class: 'js-lazy-img embed-responsive-item teaser-animation__img'
},
lowQualityPlaceholder: true,
}) | raw }}
</div>
{% endif %}
<div class="simple-text-teaser__content">
{% if false and not pimcore_select('icon').empty %}
<span class="icon icon-{{ pimcore_select('icon').frontend }} simple-text-teaser__icon" aria-hidden="true"></span>
{% endif %}
{{ pimcore_textarea('title', {'placeholder' : 'Text', 'nl2br' : true}) }}
</div>
{{ pimcore_link('button', {
'class' : 'btn btn-outline-light simple-text-teaser__btn stretch-link__link'
}) }}
</section>
{% if editmode %}
</div>
{% endif %}