Skip to content

Commit af19732

Browse files
Use form_end instead of closing HTML tag by hand (#617)
* Now properly closing authorization form Now using `form_end` instead of closing directly the HTML tag. * Removed extraneous form_rest call The form_end function already calls form_rest. See https://symfony.com/doc/current/form/form_customization.html#form-end-form-view-variables for more informations.
1 parent f2e06b8 commit af19732

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Resources/views/Authorize/authorize_content.html.twig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77
{{ form_row(form.redirect_uri) }}
88
{{ form_row(form.state) }}
99
{{ form_row(form.scope) }}
10-
{{ form_rest(form) }}
11-
</form>
10+
{{ form_end(form) }}

0 commit comments

Comments
 (0)