{{ form_start(form) }}
{{ form_widget(form.code, {'attr': {'class': 'form-control', 'placeholder': 'eg.: Divers'}}) }} {{ form_errors(form.code) }}
{{ form_widget(form.name, {'attr': {'class': 'form-control', 'placeholder': 'eg.: Produits divers'}}) }} {{ form_errors(form.name) }}
{% if product_category.id > 0 %} Supprimer {% endif %}
{{ form_end(form) }}