{{ form_start(form) }}
{{ form_widget(form.code, {'attr': {'class': 'form-control', 'placeholder': 'eg.: WH'}}) }} {{ form_errors(form.code) }}
{{ form_widget(form.name, {'attr': {'class': 'form-control', 'placeholder': 'eg.: Stock'}}) }} {{ form_errors(form.name) }}

{% if stock_warehouse.id > 0 %} Supprimer {% endif %}
{{ form_end(form) }}