Skip to content

Commit

Permalink
Fix showing form errors twice
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jun 12, 2021
1 parent 0a19df4 commit 783acd2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/Resources/views/Account/deletion_content.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
</div>
</div>

{{ form_errors(form) }}

{{ form_start(form) }}
{{ form_widget(form) }}
{{ form_end(form) }}
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{% trans_default_domain 'NucleosUserBundle' %}

{{ form_errors(form) }}

{{ form_start(form, { 'action': path('nucleos_user_change_password'), 'attr': { 'class': 'nucleos_user_change_password' } }) }}
{{ form_widget(form) }}
{{ form_end(form) }}
2 changes: 0 additions & 2 deletions src/Resources/views/Resetting/request_content.html.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{% trans_default_domain 'NucleosUserBundle' %}

{{ form_errors(form) }}

{{ form_start(form) }}
{{ form_widget(form) }}
{{ form_end(form) }}
2 changes: 0 additions & 2 deletions src/Resources/views/Resetting/reset_content.html.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{% trans_default_domain 'NucleosUserBundle' %}

{{ form_errors(form) }}

{{ form_start(form, { 'action': path('nucleos_user_resetting_reset', {'token': token}), 'attr': { 'class': 'nucleos_user_resetting_reset' } }) }}
{{ form_widget(form) }}
{{ form_end(form) }}

0 comments on commit 783acd2

Please sign in to comment.