{% if editmode %}
{{ include('Layout/includes/css.html.twig') }}
{{ include('Layout/includes/encore.html.twig', {
'staticDebugMode': staticDebugMode,
'file': 'js/content'
}) }}
<div class="editmode-box editmode-box--info mb-5 text-left">
<div class="editmode-box__header">Settings</div>
<div>
<strong>Teaserbild</strong>
{{ pimcore_image('flatrate_image', {width: 250}) }}
<strong>Badgetext</strong>
{{ pimcore_input('flatrate_badge_text') }}
<strong>Title</strong>
{{ pimcore_input('flatrate_title') }}
<strong>Location</strong>
{{ pimcore_input('flatrate_location') }}
<strong>Text</strong>
{{ pimcore_wysiwyg('flatrate_text') }}
<strong>Link</strong>
{{ pimcore_link('flatrate_link') }}
</div>
</div>
<div class="col-md-3 vertical-gutter__item">
{% endif %}
{{ include('Includes/Teaser/flatrate-teaser.html.twig', {
image: not pimcore_image('flatrate_image').empty ? pimcore_image('flatrate_image') : null ,
badgeText: pimcore_input('flatrate_badge_text').data,
link: pimcore_link('flatrate_link').href,
title: pimcore_input('flatrate_title').data,
location: pimcore_input('flatrate_location').data,
wysiwyg: pimcore_wysiwyg('flatrate_text').data,
linktext: pimcore_link('flatrate_link').text,
linktarget: pimcore_link('flatrate_link').target
}) }}
{% if editmode %}
</div>
{% endif %}