FEATURE [absence][in_progress] add absence property to user, create form, controller, template, migration and menu entry

This commit is contained in:
2023-01-11 17:16:37 +01:00
parent 99455ca685
commit fb51e44e45
7 changed files with 159 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
{% if user.absenceStart is not null %}
<p>Votre absence est indiqué à partier de {{ user.absenceStart|format_datetime() }}</p>
{% endif %}
{{ form_start(form) }}
{{ form_row(form.absenceStart) }}
{{ form_row(form.submit, { 'attr' : { 'class' : 'btn btn-chill-green' } } ) }}
{{ form_end(form) }}