Fix PHRAS-128 register fields mapping issue

This commit is contained in:
Nicolas Le Goff
2014-05-28 19:28:35 +02:00
parent 94fc8c4c03
commit 274192ae71
2 changed files with 4 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ class RegistrationServiceProvider implements ServiceProviderInterface
),
'address' => array(
'label' => _('admin::compte-utilisateur adresse'),
'type' => 'textarea',
'type' => 'text',
'constraints' => array(
new Assert\NotBlank(),
)
@@ -96,7 +96,7 @@ class RegistrationServiceProvider implements ServiceProviderInterface
new Assert\NotBlank(),
)
),
'position' => array(
'job' => array(
'label' => _('admin::compte-utilisateur poste'),
'type' => 'text',
'constraints' => array(
@@ -110,7 +110,7 @@ class RegistrationServiceProvider implements ServiceProviderInterface
new Assert\NotBlank(),
)
),
'job' => array(
'position' => array(
'label' => _('admin::compte-utilisateur activite'),
'type' => 'text',
'constraints' => array(