Skip to content

Commit

Permalink
Merge pull request #3686 from inssein/reset-password
Browse files Browse the repository at this point in the history
Fix password reset forms
  • Loading branch information
Paweł Jędrzejewski committed Dec 7, 2015
2 parents fcf0293 + 5ed56f6 commit 54d4a30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<form action="{{ path('sylius_user_password_reset', { 'token' : user.confirmationToken}) }}" {{ form_enctype(form) }} method="POST">
<fieldset>
{{ form_row(form.newPassword.first, {'label': 'sylius.form.user_reset_password.new'|trans}) }}
{{ form_row(form.newPassword.second, {'label': 'sylius.form.user_reset_password.confirmation'|trans}) }}
{{ form_row(form.password.first, {'label': 'sylius.form.user_reset_password.new'|trans}) }}
{{ form_row(form.password.second, {'label': 'sylius.form.user_reset_password.confirmation'|trans}) }}
</fieldset>
{{ form_rest(form) }}
{{ update() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

<form action="{{ path('sylius_user_password_reset', { 'token' : user.confirmationToken}) }}" {{ form_enctype(form) }} method="POST" class="form-horizontal">
<fieldset>
{{ form_row(form.newPassword.first, {'label': 'sylius.form.frontend.password.new'|trans}) }}
{{ form_row(form.newPassword.second, {'label': 'sylius.form.frontend.password.confirmation'|trans}) }}
{{ form_row(form.password.first, {'label': 'sylius.form.frontend.password.new'|trans}) }}
{{ form_row(form.password.second, {'label': 'sylius.form.frontend.password.confirmation'|trans}) }}
</fieldset>
{{ form_rest(form) }}
{{ update() }}
Expand Down

0 comments on commit 54d4a30

Please sign in to comment.