Files
myep-team/templates/teamer/check/meal_preference.html.twig
T

37 lines
1.1 KiB
Twig

{% extends 'teamer/layout.html.twig' %}
{% block title %}Ernährungsweise{% endblock %}
{% block content %}
{{ form_start(form) }}
<div class="max-w-2xl">
<h1 class="text-2xl font-bold pb-2">
Ernährungsweise
</h1>
<p class="pb-6">
Damit wir bei deinen Einsätzen die Verpflegung passend planen können, benötigen wir einmalig deine
Ernährungsweise. Bitte wähle eine der folgenden Optionen:
</p>
{% if not form.vars.valid %}
{% embed '_partials/_alert.html.twig' with { 'type': 'warning' } %}
{% block message %}
{% include '_partials/_form_errors.html.twig' with { 'form': form } %}
{% endblock %}
{% endembed %}
{% endif %}
<div class="flex flex-col space-y-4 pb-6">
{{ form_row(form.mealPreference) }}
</div>
<button type="submit" class="btn">
Speichern
</button>
</div>
{{ form_rest(form) }}
{{ form_end(form) }}
{% endblock %}