Loading module/Intervenant/src/Form/EditionForm.php +12 −7 Original line number Diff line number Diff line Loading @@ -63,6 +63,7 @@ class EditionForm extends AbstractForm 'codeRh' => ['type' => 'string'], 'utilisateurCode' => ['type' => 'string'], 'emailPerso' => ['type' => 'string'], 'telPerso' => ['type' => 'string'], 'source' => ['type' => Source::class], 'sourceCode' => ['type' => 'string'], 'syncStatut' => ['type' => 'bool'], Loading Loading @@ -240,13 +241,16 @@ class EditionForm extends AbstractForm 'type' => Email::class, 'options' => [ 'label' => 'E-mail personnel', //'label_options' => ['disable_html_escape' => true], ], 'attributes' => [ //'placeholder' => "Email établissement", //'class' => 'form-control left-border-none dossierElement', ]); $this->add([ 'name' => 'telPerso', 'type' => 'Text', 'options' => [ 'label' => 'Tél. personnel', ], 'type' => Email::class, ]); $utilisateur = new SearchAndSelect('utilisateur'); Loading Loading @@ -571,6 +575,7 @@ class EditionForm extends AbstractForm ['name' => EmailAddress::class], ], ], 'telPerso' => ['required' => false], 'statut' => ['required' => false], 'structure' => ['required' => false], 'discipline' => ['required' => false], Loading module/Intervenant/view/intervenant/intervenant/saisir.phtml +2 −1 Original line number Diff line number Diff line Loading @@ -85,7 +85,8 @@ if ($errors) { <div class="col-md-8"><?= $this->formControlGroup($form->get('nomPatronymique')); ?></div> </div> <div class="row"> <div class="col-md-12"><?= $this->formControlGroup($form->get('emailPerso')); ?></div> <div class="col-md-6"><?= $this->formControlGroup($form->get('emailPerso')); ?></div> <div class="col-md-6"><?= $this->formControlGroup($form->get('telPerso')); ?></div> </div> <div class="row"> <div class="col-md-6"><?= $this->formControlGroup($form->get('validiteDebut')); ?></div> Loading Loading
module/Intervenant/src/Form/EditionForm.php +12 −7 Original line number Diff line number Diff line Loading @@ -63,6 +63,7 @@ class EditionForm extends AbstractForm 'codeRh' => ['type' => 'string'], 'utilisateurCode' => ['type' => 'string'], 'emailPerso' => ['type' => 'string'], 'telPerso' => ['type' => 'string'], 'source' => ['type' => Source::class], 'sourceCode' => ['type' => 'string'], 'syncStatut' => ['type' => 'bool'], Loading Loading @@ -240,13 +241,16 @@ class EditionForm extends AbstractForm 'type' => Email::class, 'options' => [ 'label' => 'E-mail personnel', //'label_options' => ['disable_html_escape' => true], ], 'attributes' => [ //'placeholder' => "Email établissement", //'class' => 'form-control left-border-none dossierElement', ]); $this->add([ 'name' => 'telPerso', 'type' => 'Text', 'options' => [ 'label' => 'Tél. personnel', ], 'type' => Email::class, ]); $utilisateur = new SearchAndSelect('utilisateur'); Loading Loading @@ -571,6 +575,7 @@ class EditionForm extends AbstractForm ['name' => EmailAddress::class], ], ], 'telPerso' => ['required' => false], 'statut' => ['required' => false], 'structure' => ['required' => false], 'discipline' => ['required' => false], Loading
module/Intervenant/view/intervenant/intervenant/saisir.phtml +2 −1 Original line number Diff line number Diff line Loading @@ -85,7 +85,8 @@ if ($errors) { <div class="col-md-8"><?= $this->formControlGroup($form->get('nomPatronymique')); ?></div> </div> <div class="row"> <div class="col-md-12"><?= $this->formControlGroup($form->get('emailPerso')); ?></div> <div class="col-md-6"><?= $this->formControlGroup($form->get('emailPerso')); ?></div> <div class="col-md-6"><?= $this->formControlGroup($form->get('telPerso')); ?></div> </div> <div class="row"> <div class="col-md-6"><?= $this->formControlGroup($form->get('validiteDebut')); ?></div> Loading