{% extends 'teamer/layout.html.twig' %} {% block title %}{{ definition.title }}{% endblock %} {% block content %}

{{ definition.title }}

{% if definition.description %}

{{ definition.description|nl2br }}

{% endif %}
{{ form_start(form, { attr: { 'data-controller': 'questionnaire', 'data-action': 'change->questionnaire#update' } }) }} {% for child in form|filter(child => child.vars.name not in ['draft', 'submit']) %} {{ form_row(child) }} {% endfor %}
{{ form_widget(form.submit, { attr: { class: 'btn' } }) }} {{ form_widget(form.draft, { attr: { class: 'btn btn--secondary' } }) }}

Als Entwurf kannst du den Fragebogen jederzeit speichern und später weiter ausfüllen. Abgeschickt ist er endgültig.

{{ form_end(form) }}

Dein Einsatz

{% include '_partials/_assignment_info.html.twig' with { 'assignment': disposition.assignment } %} {% if response %}

Entwurf zuletzt gespeichert am {{ (response.updatedAt ?? response.createdAt)|date('d.m.Y, H:i') }} Uhr

{% endif %}
{% endblock %}