31 lines
1.0 KiB
Twig
31 lines
1.0 KiB
Twig
{% extends 'teamer/layout.html.twig' %}
|
|
|
|
{% block title %}{{ definition.title }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1 class="text-2xl font-bold pb-4">
|
|
{{ definition.title }}
|
|
</h1>
|
|
{% if definition.description %}
|
|
<p class="pb-8 text-gray-700">
|
|
{{ definition.description|nl2br }}
|
|
</p>
|
|
{% endif %}
|
|
<div class="grid lg:grid-cols-3 gap-8 items-start">
|
|
<div class="lg:col-span-2">
|
|
{% include 'questionnaire/_form.html.twig' %}
|
|
</div>
|
|
<div>
|
|
<h2 class="text-lg font-bold pb-4">
|
|
Dein Einsatz
|
|
</h2>
|
|
{% include '_partials/_assignment_info.html.twig' with { 'assignment': disposition.assignment } %}
|
|
{% if response %}
|
|
<p class="pt-6 text-sm text-gray-500">
|
|
Entwurf zuletzt gespeichert am {{ (response.updatedAt ?? response.createdAt)|date('d.m.Y, H:i') }} Uhr
|
|
</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|