From a905e78d9c1584a65098c788cc0602cc2d67ffc3 Mon Sep 17 00:00:00 2001 From: "valentin.wacker" Date: Wed, 27 Sep 2017 13:44:36 +0000 Subject: [PATCH] =?UTF-8?q?#1353=20Placeholder=20f=C3=BCr=20die=20ChoiceTy?= =?UTF-8?q?pes=20der=20Geschlechter=20entfernt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3346 f459cee4-fb09-11de-96c3-f9c5f16c3c76 --- trunk/src/AppBundle/Form/BookingRequestType.php | 2 +- trunk/src/AppBundle/Form/TravelerType.php | 2 +- .../AppBundle/Validator/Constraints/BookingRequestValidator.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/src/AppBundle/Form/BookingRequestType.php b/trunk/src/AppBundle/Form/BookingRequestType.php index fe0777b1..665f4883 100644 --- a/trunk/src/AppBundle/Form/BookingRequestType.php +++ b/trunk/src/AppBundle/Form/BookingRequestType.php @@ -108,7 +108,7 @@ class BookingRequestType extends AbstractType $builder ->add('salutation', ChoiceType::class, [ - 'placeholder' => 'Anrede (Bitte wählen) *', + //'placeholder' => 'Anrede (Bitte wählen) *', 'choices' => self::$SALUTATION_CHOICES, 'constraints' => [ new NotNull(), diff --git a/trunk/src/AppBundle/Form/TravelerType.php b/trunk/src/AppBundle/Form/TravelerType.php index fe9e8ef3..f0cc41e7 100644 --- a/trunk/src/AppBundle/Form/TravelerType.php +++ b/trunk/src/AppBundle/Form/TravelerType.php @@ -41,7 +41,7 @@ class TravelerType extends AbstractType { $builder ->add('sex', ChoiceType::class, [ - 'placeholder' => 'Geschlecht (Bitte wählen) *', + //'placeholder' => 'Geschlecht (Bitte wählen) *', 'choices' => self::$SEX_CHOICES, 'constraints' => [ new Choice(['choices' => self::$SEX_CHOICES]) diff --git a/trunk/src/AppBundle/Validator/Constraints/BookingRequestValidator.php b/trunk/src/AppBundle/Validator/Constraints/BookingRequestValidator.php index 878d9f03..935d4fcf 100644 --- a/trunk/src/AppBundle/Validator/Constraints/BookingRequestValidator.php +++ b/trunk/src/AppBundle/Validator/Constraints/BookingRequestValidator.php @@ -6,7 +6,7 @@ namespace AppBundle\Validator\Constraints; -//use AppBundle\Entity\BookingRequest; +use AppBundle\Entity\BookingRequest; use AppBundle\Entity\TravelDate; use AppBundle\Entity\TravelProgram; use AppBundle\Form\BookingRequestType;