{{ form_start(form, {'method': 'post', 'attr' : {'id' : 'formCategory'}}) }}
{{ form_widget(form.name, { 'attr': {'class': 'form-control', 'required' : 'true' }}) }}
{{ form_end(form) }}