{% extends "Layout/default.html.twig" %}
{% block content %}
{{ include('Content/includes/hero.html.twig') }}
{{ include('Navigation/breadcrumb.html.twig') }}
{{ include('Includes/main-title-block-splitted-editable.html.twig', {
suffix: '-main-title-block'
}) }}
{{ include('Includes/areablock.html.twig', {
suffix: 'top'
}) }}
{% embed 'Includes/editmode-settings.html.twig' %}
{% block additionalInfo %}
<div>
<label>
Use: {{ pimcore_select('youngStyriaOverviewSelect', {
store: [
["accommodation", "YoungStyria Accommodations"],
["infrastructure", "YoungStyria Infrastructure"]
],
defaultValue : "accommodation",
width: "50%",
reload: true
}) }}
</label>
<div>
<label>Randomize every 24 hours</label>
{{ pimcore_checkbox('randomizeYoungStyria') }}
</div>
<div>
<label>Objects per site</label>
{{ pimcore_numeric('perPage', {
minValue: 1,
maxValue: 200,
decimalPrecision: 0
}) }}
</div>
</div>
{% endblock %}
{% endembed %}
<div class="js-ajax-form-map content-block position-relative" data-ajax-form-add-url-params="true" data-form-map-url="{{ document.fullPath }}?pois=1&page={{ app.request.get('page', 1) }}">
<div aria-live="polite">
{# is needed for map#}
<form action="/404"
data-action="{{ app.request.pathInfo }}?ajax=1"
class="js-ajax-form-map__form js-form-validation js-conditional-form text-white" hidden>
</form>
<div class="content-block container">
<div class="js-ajax-form-map__notifications mb-3" hidden></div>
<div class="js-ajax-form-map__error-area mb-3" hidden>
<button class="js-ajax-form-map__retry btn btn-info ml-2">{{ 'eventplanner.Retry'|trans }}</button>
</div>
{{ include('Includes/loading-overlay.html.twig', {
styleModifier: 'js-ajax-form-map__loading'
}) }}
{{ include('Includes/title-block-editable.html.twig', {
isCentered: true
}) }}
{{ include('YoungStyria/Includes/young-styria-paging.html.twig', {
paginator: paginator
}) }}
</div>
</div>
</div>
{{ include('Includes/areablock.html.twig', {
suffix: 'bottom'
}) }}
{% endblock %}
{% block javascripts %}
{% if not app.request.get('onlyInlineCss') %}
{{ include('Layout/includes/encore.html.twig', {
'staticDebugMode': staticDebugMode,
'file': 'js/convention'
}) }}
{% endif %}
{% endblock %}