{% extends "baseAdmin.html.twig" %} {% block title %}Ajouter un patron{% endblock %} {% block addP %}colorlib-active{% endblock %} {% block style %} {% endblock %} {% block contenu %}

Ajouter un patron

Ajouter un patron

Rentrez les informations du nouveau patron

{{ form_start(form, {class : 'form-sample'}) }}
{{ form_row(form.nom, {class : 'form-control'}, {id : 'nom'}) }}
{{ form_row(form.maTaille, {class : 'form-control'}, {id : 'taille'}) }}
{{ form_row(form.metrage, {class : 'form-control'}, {id : 'metrage'}) }}
{{ form_row(form.accessoireProv, {class : 'form-control'}, {id : 'accessoireProv'}) }}
{{ form_row(form.tissu, {class : 'form-control'}, {id : 'tissu'}) }}
{{ form_row(form.remarque, {class : 'form-control'}, {id : 'remarque'}) }}
{{ form_row(form.image, {class : 'form-control'}, {id : 'image'}) }}
{{ form_row(form.decalque, {class : 'form-control'}, {id : 'decalque'}) }}

1 si oui, 0 sinon

{{ form_row(form.taille_decalque, {class : 'form-control'}, {id : 'taille_decalque'}) }}
{{ form_row(form.genre, {class : 'form-control'}, {id : 'genre'}) }}
{{ form_row(form.categorie, {class : 'form-control'}, {id : 'categorie'}) }}
{{ form_row(form.livre, {class : 'form-control'}, {id : 'livre'}) }}
{{ form_end(form) }}
{% endblock %}