{% extends 'base.html.twig' %} {% block title %}Stagiaire{% endblock %} {% block body %}
{# session #} {% if student_id|default %}

Modifier un stagiaire

{% else %}

Ajouter un stagiaire

{% endif %} {% if formAddStudent|default %}
{{ form_start(formAddStudent, {'attr': {'class': 'uk-form uk-margin-top uk-grid-small', 'uk-grid' : '' }}) }}
{{ form_row(formAddStudent.firstName) }}
{{ form_row(formAddStudent.lastName) }}
{{ form_row(formAddStudent.phoneNumber) }}
{{ form_row(formAddStudent.birthday) }}
{{ form_row(formAddStudent.address) }}
{{ form_row(formAddStudent.city) }}
{{ form_row(formAddStudent.zipCode) }}
{% endif %}
{{ form_row(formAddStudent.Valider) }} {% if student_id|default != null %} Annuler {% endif %} Retour Liste
{{ form_end(formAddStudent) }}
{% endblock %}