feat: info about participants' mutability status in booking data
This commit is contained in:
@@ -102,21 +102,19 @@
|
|||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden" {{ stimulus_target('toggle', 'toggle') }}>
|
<div class="hidden" {{ stimulus_target('toggle', 'toggle') }}>
|
||||||
{#
|
|
||||||
{% if child.vars.data.personId == bookingData.applicant.personId %}
|
|
||||||
<div class="pt-4">
|
|
||||||
{% include '_partials/_alert.html.twig' with {
|
|
||||||
'level': 'info',
|
|
||||||
'messages': ['Bitte die persönlichen Daten über den Reiter \'Meine Daten\' bearbeiten']
|
|
||||||
} %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
#}
|
|
||||||
<div class="flex flex-col space-y-4 pt-4">
|
<div class="flex flex-col space-y-4 pt-4">
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<h3 class="text-xl font-semibold">
|
<h3 class="text-xl font-semibold">
|
||||||
Persönliche Daten
|
Persönliche Daten
|
||||||
</h3>
|
</h3>
|
||||||
|
{% if not child.vars.data.mutable %}
|
||||||
|
<div class="pt-4">
|
||||||
|
{% include '_partials/_alert.html.twig' with {
|
||||||
|
'level': 'info',
|
||||||
|
'messages': ['Änderungen an den persönlichen Daten sind nur kostenpflichtig über die Kundenbetreuung möglich']
|
||||||
|
} %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
<fieldset class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-4 pb-4">
|
<fieldset class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-4 pb-4">
|
||||||
{{ form_row(child.firstName) }}
|
{{ form_row(child.firstName) }}
|
||||||
{{ form_row(child.lastName) }}
|
{{ form_row(child.lastName) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user