We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c8517d3 + 5a20ffa commit a67c26eCopy full SHA for a67c26e
Resources/views/Authorize/authorize_content.html.twig
@@ -1,4 +1,4 @@
1
-<form action="{{ path('fos_oauth_server_authorize') }}" method="POST" class="fos_oauth_server_authorize" {{ form_enctype(form) }}>
+{{ form_start(form, {'method': 'POST', 'action': path('fos_oauth_server_authorize'), 'label_attr': {'class': 'fos_oauth_server_authorize'} }) }}
2
<input type="submit" name="accepted" value="{{ 'authorize.accept'|trans({}, 'FOSOAuthServerBundle') }}" />
3
<input type="submit" name="rejected" value="{{ 'authorize.reject'|trans({}, 'FOSOAuthServerBundle') }}" />
4
0 commit comments