{% extends 'partials/base.html.twig' %}
{% block content %}
{% set form_url = page.header.typeform_url|default('https://form.typeform.com/to/XqgB4bDq') %}{% set form_id = form_url|split('/')|last %}
<section class="form-section" aria-labelledby="waiting-list-heading"><div class="form-intro"><h1 id="waiting-list-heading">{{ page.header.hero_title|default(page.title)|e }}</h1><p>{{ page.header.hero_text|e }}</p></div><div class="form-wrapper"><div class="typeform" data-form-id="{{ form_id|e }}" aria-label="Modulo di iscrizione alla lista d'attesa"></div><p class="typeform-fallback">Se il modulo non viene visualizzato, <a href="{{ form_url|e }}">aprilo direttamente su Typeform</a>.</p></div></section>
{% if page.content|striptags|trim %}<section class="custom-section"><div class="custom-section-inner"><div class="custom-section-content">{{ page.content|raw }}</div></div></section>{% endif %}
{% endblock %}
