Skip to content

Commit

Permalink
Use form_end instead of closing HTML tag by hand (#617)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
adrienbrignon authored Sep 16, 2020
1 parent f2e06b8 commit af19732
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Resources/views/Authorize/authorize_content.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
{{ form_row(form.redirect_uri) }}
{{ form_row(form.state) }}
{{ form_row(form.scope) }}
{{ form_rest(form) }}
</form>
{{ form_end(form) }}

0 comments on commit af19732

Please sign in to comment.