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

View File

@@ -514,7 +514,7 @@ button[type=submit] {
box-radius: @inputBorderRadius !important; box-radius: @inputBorderRadius !important;
} }
.input-table input { .input-table input, .input-table select, .input-table textarea {
border: @inputBorder !important; border: @inputBorder !important;
background-color: @inputBackground !important; background-color: @inputBackground !important;
color: @textColor !important; color: @textColor !important;