Skip to content

Commit db2fd4f

Browse files
committed
Reorder fields in registration form
1 parent e536e8b commit db2fd4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Form/Type/RegistrationFormType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public function __construct($class)
3030
public function buildForm(FormBuilderInterface $builder, array $options)
3131
{
3232
$builder
33-
->add('username', null, array('label' => 'form.username', 'translation_domain' => 'FOSUserBundle'))
3433
->add('email', 'email', array('label' => 'form.email', 'translation_domain' => 'FOSUserBundle'))
34+
->add('username', null, array('label' => 'form.username', 'translation_domain' => 'FOSUserBundle'))
3535
->add('plainPassword', 'repeated', array(
3636
'type' => 'password',
3737
'options' => array('translation_domain' => 'FOSUserBundle'),

0 commit comments

Comments
 (0)