43 lines
1.1 KiB
Twig
43 lines
1.1 KiB
Twig
|
{% extends 'base.html.twig' %}
|
||
|
|
||
|
{% block body %}
|
||
|
{{ form_start(form) }}
|
||
|
<h1 class="page-header">
|
||
|
MODIFICATION POINTAGE
|
||
|
</h1>
|
||
|
|
||
|
{{ form_widget(form.submit) }}
|
||
|
{% if from=="list" %}
|
||
|
<a class="btn btn-secondary" href={{ path('app_tallyday_userlist') }}>Annuler</a>
|
||
|
{% else %}
|
||
|
<a class="btn btn-secondary" href={{ path('app_tallyday') }}>Annuler</a>
|
||
|
{% endif %}
|
||
|
|
||
|
<br><br>
|
||
|
|
||
|
{% if app.session.flashbag.has('error') %}
|
||
|
<div class='alert alert-danger' style='margin: 5px 0px'>
|
||
|
<strong>Erreur</strong><br>
|
||
|
{% for flashMessage in app.session.flashbag.get('error') %}
|
||
|
{{ flashMessage }}<br>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
|
||
|
{% if app.session.flashbag.has('notice') %}
|
||
|
<div class='alert alert-info' style='margin: 5px 0px'>
|
||
|
<strong>Information</strong><br>
|
||
|
{% for flashMessage in app.session.flashbag.get('notice') %}
|
||
|
{{ flashMessage }}<br>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
|
||
|
{{ form_end(form) }}
|
||
|
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block localjavascript %}
|
||
|
|
||
|
{% endblock %}
|