mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
design UX for duplicate person feature
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Chill\PersonBundle\Form;
|
||||
use Chill\PersonBundle\Form\Type\PickPersonType;
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\HiddenType;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
class PersonFindManuallyDuplicateType extends AbstractType
|
||||
@@ -21,11 +21,8 @@ class PersonFindManuallyDuplicateType extends AbstractType
|
||||
'label' => 'Find duplicate',
|
||||
'mapped' => false,
|
||||
])
|
||||
->add('direction', ChoiceType::class, [
|
||||
'choices' => [
|
||||
'Starting' => 'starting',
|
||||
'Arrival' => 'arrival',
|
||||
],
|
||||
->add('direction', HiddenType::class, [
|
||||
'data' => 'starting',
|
||||
])
|
||||
;
|
||||
}
|
||||
|
Reference in New Issue
Block a user