34 lines
1.3 KiB
Twig
34 lines
1.3 KiB
Twig
{% extends 'teamer/layout.html.twig' %}
|
|
|
|
{% block title %}Fragebogen zu deinem Einsatz{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="max-w-3xl">
|
|
<h1 class="text-2xl font-bold pb-2">
|
|
Fragebogen zu deinem Einsatz
|
|
</h1>
|
|
{% include 'questionnaire/_assignment_summary.html.twig' with { 'assignment': disposition.assignment } %}
|
|
<p class="pb-8 text-gray-700">
|
|
Danke für dein Feedback!
|
|
</p>
|
|
<div class="flex flex-col gap-y-12">
|
|
{% for item in submitted %}
|
|
<section>
|
|
<h2 class="text-2xl font-bold pb-1">
|
|
{{ item.definition.title }}
|
|
</h2>
|
|
<p class="pb-6 text-sm text-gray-500">
|
|
Abgeschickt am {{ item.response.submittedAt|date('d.m.Y, H:i') }} Uhr
|
|
</p>
|
|
{% include 'questionnaire/_answers.html.twig' with { 'definition': item.definition, 'answers': item.response.answers } %}
|
|
</section>
|
|
{% endfor %}
|
|
{% if open %}
|
|
<a href="{{ path('app_teamer_questionnaire_edit', { 'uuid': disposition.uuid }) }}" class="btn inline-block self-start">
|
|
Offenen Fragebogen ausfüllen
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|