Files
myep/templates/booking/create/authenticate.html.twig
T
2026-10-01 15:03:27 +02:00

73 lines
3.1 KiB
Twig

{% extends 'layout.html.twig' %}
{% block content %}
<div class="px-4 lg:px-8 py-8 lg:py-16">
{% include '_partials/_flashes.html.twig' %}
<h1 class="text-white uppercase pb-4 mb-4 border-b border-primary-bg/40">
Neue<br>Buchung
</h1>
<div class="lg:flex lg:space-x-8 pb-8 mb-8 border-b border-primary-bg/40">
{% if cmsData and cmsData.images and cmsData.images.resized.l[0] is defined %}
<img src="{{ cmsData.images.resized.l[0].url }}"
alt="{{ cmsData.images.resized.l[0].alt }}"
class="block w-full max-w-64 h-auto mb-4">
{% endif %}
<div class="text-white max-w-96">
<div class="text-xl lg:text-2xl font-semibold uppercase">
{{ travel_title }}
</div>
<div class="text-lg font-semibold uppercase">
{{ travel_date_from | date('d.m.Y') }} - {{ travel_date_to | date('d.m.Y') }}
</div>
{% if cmsData and cmsData.name %}
<div class="mt-4 font-semibold">{{ cmsData.name }}</div>
{% endif %}
{% if cmsData and cmsData.address %}
<div>{{ cmsData.address | nl2br }}</div>
{% endif %}
</div>
</div>
<div class="space-y-8 max-w-screen-sm">
<div>
<a href="{{ path('app_booking_create_step_1') }}" class="button button--primary w-full md:w-auto">
Als Gast fortfahren
</a>
</div>
{% include '_partials/_purchase_login_form.html.twig' %}
<div>
<h3 class=" text-white">
Noch kein Account?
</h3>
<div class="text-white">
Nach Abschluss deiner Buchung wird automatisch ein Account für dich erstellt.
Du erhältst dann Zugangsdaten per E-Mail und kannst deine Buchungen jederzeit verwalten.
</div>
</div>
</div>
</div>
{% endblock %}
{% block footer %}
<div class="shrink-0 bg-primary-dark px-4 lg:px-8 py-2 lg:py-4">
<button type="button"
hx-get="{{ path('app_booking_cancel') }}"
hx-target="body"
hx-swap="beforeend"
class="inline-flex items-center justify-center bg-gray-200 rounded-md w-10 h-10">
<svg class="w-8 h-8" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><line x1="200" y1="56" x2="56" y2="200" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="200" y1="200" x2="56" y2="56" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>
</button>
</div>
{% endblock %}
{% block data_layer %}
{% include '_partials/_tracking.html.twig' with {
'url': '/trichter_Z1/schritt0_login_oder_gast',
'title': 'Login oder Gast'
} %}
{% endblock %}