From 274192ae7193457c7a957a28b82dc30dd549580c Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Wed, 28 May 2014 19:28:35 +0200 Subject: [PATCH] Fix PHRAS-128 register fields mapping issue --- .../Phrasea/Core/Provider/RegistrationServiceProvider.php | 6 +++--- www/skins/login/less/skin.less | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Alchemy/Phrasea/Core/Provider/RegistrationServiceProvider.php b/lib/Alchemy/Phrasea/Core/Provider/RegistrationServiceProvider.php index a9abce7441..675e35ba17 100644 --- a/lib/Alchemy/Phrasea/Core/Provider/RegistrationServiceProvider.php +++ b/lib/Alchemy/Phrasea/Core/Provider/RegistrationServiceProvider.php @@ -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( diff --git a/www/skins/login/less/skin.less b/www/skins/login/less/skin.less index fd32830027..aeaaaa80b8 100644 --- a/www/skins/login/less/skin.less +++ b/www/skins/login/less/skin.less @@ -514,7 +514,7 @@ button[type=submit] { box-radius: @inputBorderRadius !important; } -.input-table input { +.input-table input, .input-table select, .input-table textarea { border: @inputBorder !important; background-color: @inputBackground !important; color: @textColor !important;