{% block stylesheets %}
{% endblock %}
{% include 'Navigation/navigation.html.twig' %}
{% if app.request.get('_route') == 'ajouterInstrument' %}
Ajout d'un Instrument
{% else %}
Modification de l'Instrument {% endif %}
{# templates/Instrument/ajouterInstrument.html.twig #}
{{ form_start(formInstru) }}
{{ form_row(formInstru.intitule,{'attr' : {'class' : 'form-control'}} ) }} {{ form_row(formInstru.marque,{'attr' : {'class' : 'form-control'}} ) }} {{ form_row(formInstru.couleurDominante,{'attr' : {'class' : 'form-control'}} ) }} {{ form_row(formInstru.NumeroSerie,{'attr' : {'class' : 'form-control'}} ) }} {{ form_row(formInstru.prixAchat,{'attr' : {'class' : 'form-control'}} ) }} {{ form_row(formInstru.utilisation,{'attr' : {'class' : 'form-control'}} ) }} {{ form_row(formInstru.typeInstrument,{'attr' : {'class' : 'form-control'}} ) }}
{{ form_row(formInstru.enregistrer,{'attr' : {'class' : 'form-control btn-primary'}} ) }}
{{ form_end(formInstru) }} {% block javascripts %} {% endblock %}