{% if 'ROLE_ADMIN' in app.user.roles %} {% if form and action %} {{ form_start(form, {'action': action }) }} {{ form_widget(form) }}