{{ form_start(form) }}
{{ form_widget(form.code, {'attr': {'class': 'form-control', 'placeholder': 'eg.: CASH'}}) }} {{ form_errors(form.code) }}
{{ form_widget(form.name, {'attr': {'class': 'form-control', 'placeholder': 'eg.: Espèce'}}) }} {{ form_errors(form.name) }}
{{ form_widget(form.type, {'attr': {'class': 'form-control'}}) }} {{ form_errors(form.type) }}

{{ form_end(form) }}