{{ form_start(form, {method: 'POST', action: path('fos_oauth_server_authorize'), label_attr: {class: 'fos_oauth_server_authorize'} }) }} {{ form_row(form.client_id) }} {{ form_row(form.response_type) }} {{ form_row(form.redirect_uri) }} {{ form_row(form.state) }} {{ form_row(form.scope) }} {{ form_end(form) }}