how to overriding fosuserbundle registration form style
I want to use bootstrap style apply in fosuserbundle registration form.and the login cant overriding,but because of registration form use "{{ form_widget(form) }}",so I can't overriding it,I use symfony2.2,I also test use form theme,like this {% block form_row %} {% spaceless %} <div class="control-group"> {{ form_label(form, label|default(null),{ 'attr': {'class': 'control-label'} }) }} {{ form_errors(form) }} <div class="controls">{{ form_widget(form) }}</div> </div> {% endspaceless %} {% endblock form_row %} and in form template the code is {% form_theme form with '@user/form/fields.html' %