{% extends 'layout/default.html.twig' %}
{% block content %}
{{ pimcore_placeholder('jsFile').set('js/downloads') }}
{{ include('includes/heros/content-hero.html.twig', { 'className': 'content-block' }, with_context = false) }}
{% embed 'includes/editmode-box.html.twig' with { 'showAnchorTitle': false, 'prefix': 'download' } %}
{% block editmodeSettings %}
{{ pimcore_relations('filterCategory', {
'types' : [ 'object' ],
'subtypes' : { 'object' : [ 'object' ] },
'classes': [ 'DownloadCategory' ],
'title': 'Filter category objects'
}) }}
<br>
use custom sorting {{ pimcore_checkbox("useCustomSorting") }}
{% endblock %}
{% endembed %}
<div class="content-block">
<div class="container">
<div class="js-ajax-form position-relative mt-4 mt-md-0" data-ajax-form-add-url-params="true" data-ajax-form-scroll-to-top="true" data-ajax-form-submit-on-reset="true">
<div aria-live="polite">
<div class="js-ajax-form__notifications mb-3" hidden></div>
{{ include('includes/loading/loading-overlay.html.twig', {
'className': 'js-ajax-form__loading',
'isMobileFixed': true
}, with_context = false) }}
<div class="js-ajax-form__result">
{{ include('download/partials/teaser-grid-result.html.twig', {
'downloadAssets' : downloadAssets|default([]),
'downloadCategory' : downloadCategory|default([]),
'fileTypeOptions' : fileTypeOptions|default([]),
'filters' : filters|default([])
}, with_context = false) }}
</div>
</div>
</div>
</div>
</div>
{% endblock %}