ninebadge/src/ninebadge-1.0/templates/Tallyday/edit.html.twig

43 lines
1.1 KiB
Twig
Raw Normal View History

2022-02-09 09:55:14 +01:00
{% 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 %}