{% extends 'base.html.twig' %} {% block body %} {{ form_start(form) }} {{ form_widget(form.submit) }} {% if mode=="update" %} Supprimer {% endif %}

{% if app.session.flashbag.has('error') %}
Erreur
{% for flashMessage in app.session.flashbag.get('error') %} {{ flashMessage }}
{% endfor %}
{% endif %} {% if app.session.flashbag.has('notice') %}
Information
{% for flashMessage in app.session.flashbag.get('notice') %} {{ flashMessage }}
{% endfor %}
{% endif %} {{ form_row(form.name) }} {{ form_row(form.giteaid) }} {{ form_end(form) }} {% endblock %} {% block localjavascript %} $(document).ready(function() { $("#scrumteam_name").focus(); }); function closeModal() { window.parent.$("#mymodalteam").modal('hide'); } {% endblock %}