Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate form elements #607

Merged
merged 1 commit into from
Jul 11, 2017
Merged

Remove duplicate form elements #607

merged 1 commit into from
Jul 11, 2017

Conversation

XWB
Copy link
Member

@XWB XWB commented Jul 11, 2017

Some forms have the _method element rendered twice in the template, which causes an issue with Symfony 3.3.

<form>
    <input type="hidden" name="_method" value="PATCH" />

    <input type="hidden" name="_method" value="patch" />
</form>

The method is already defined in the form factories and rendered by form_rest.

@XWB XWB merged commit ce7a477 into FriendsOfSymfony:2.x Jul 11, 2017
@XWB XWB deleted the method branch July 11, 2017 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant