fix errors when creating user and updating password

This commit is contained in:
2018-09-04 16:55:34 +02:00
parent 04bdaa308a
commit e88265adcd
4 changed files with 46 additions and 18 deletions

View File

@@ -6,7 +6,7 @@
<h1>{{ 'Edit password for %username%'|trans( { '%username%': entity.username } ) }}</h1>
{{ form_start(edit_form) }}
{{ form_row(edit_form.password) }}
{{ form_row(edit_form.new_password) }}
{{ form_widget(edit_form.submit, { 'attr': { 'class': 'sc-button orange' } } ) }}
{{ form_end(edit_form) }}

View File

@@ -8,7 +8,7 @@
{{ form_start(form) }}
{{ form_row(form.username) }}
{{ form_row(form.email) }}
{{ form_row(form.plainPassword.password) }}
{{ form_row(form.plainPassword) }}
{{ form_widget(form.submit, { 'attr' : { 'class': 'sc-button blue' } }) }}
{{ form_end(form) }}