Vaidator Mail erstmal rausnehmen

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3375 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-02-24 10:02:56 +00:00
parent 62ed0bb650
commit 86c0083897

View file

@ -133,7 +133,8 @@ class BookingRequestType extends AbstractType
]) ])
->add('phone') ->add('phone')
->add('fax') ->add('fax')
->add('email', EmailType::class, [ ->add('email')
/*EmailType::class, [
'constraints' =>[ 'constraints' =>[
new Email([ new Email([
'message'=>'This is not the corect email format' 'message'=>'This is not the corect email format'
@ -142,7 +143,7 @@ class BookingRequestType extends AbstractType
'message' => 'This field can not be blank' 'message' => 'This field can not be blank'
]) ])
] ]
]) ])*/
->add('rooms', CollectionType::class, [ ->add('rooms', CollectionType::class, [
'entry_type' => RoomType::class, 'entry_type' => RoomType::class,
'by_reference' => false, 'by_reference' => false,