<section class="slide bg-dark-bg content-block content-block--no-footer-margin {{ include('Layout/includes/editmode-box-classes.html.twig') }} {{ pimcore_checkbox('isSmall').data ? 'quote-area--small' : '' }} {{ styleModifier | default(null) }} {{ not pimcore_input('anchorTitle').empty ? 'js-anchor-nav__item' : '' }}" {% if not pimcore_input('anchorTitle').empty %}data-anchor-nav-title="{{ pimcore_input('anchorTitle').frontend }}"{% endif %}>
{% embed 'Includes/editmode-settings.html.twig' %}
{% block additionalInfo %}
<div>
<label>
{{ pimcore_checkbox('titleBlockCentered') }} Center Headline?
</label>
</div>
<div class="alert alert-info">
if download is image or pdf view link will also appear
</div>
{% endblock %}
{% endembed %}
<div class="container">
{{ include('Includes/title-block-editable.html.twig', {
'styleModifier': 'js-fade-in',
'isWhite': true
}) }}
<div class="container container-sm">
<ul class="download-list d-flex flex-column list-unstyled vertical-gutter--default">
{% for i in pimcore_iterate_block(pimcore_block('downloads', {'default': 1})) %}
{% if editmode %}
<div class="editmode-box editmode-box--info mb-5 text-left">
<div class="editmode-box__header">Settings</div>
<div>
<strong>Use Snippet: </strong>
{{ pimcore_checkbox('use_snippet', {reload: true}) }}
</div>
</div>
{% endif %}
<li class="vertical-gutter__item js-fade-in">
{% if pimcore_checkbox('use_snippet').checked() %}
{{ pimcore_snippet("download_snippet") }}
{% else %}
{{ pimcore_renderlet('download', {
'title': 'Assets only',
'type': 'asset',
'controller': 'App\\Controller\\RenderletController::downloadItemAction',
'height': 170
}) }}
{% endif %}
</li>
{% endfor %}
</ul>
</div>
</div>
</section>