|
@@ -39,14 +39,14 @@ class ContactType extends AbstractType
|
|
|
->add('subject', 'text')
|
|
|
->add('message', 'textarea')
|
|
|
// Ofaj
|
|
|
- ->add('gdpr_checkbox', CheckboxType::class)
|
|
|
+ ->add('gdpr_checkbox', CheckboxType::class, ['mapped' => false])
|
|
|
->add(
|
|
|
'gdpr_textarea',
|
|
|
'textarea',
|
|
|
[
|
|
|
'disabled' => 'disabled',
|
|
|
'label' => false,
|
|
|
- 'attr' => ['rows' => 5]
|
|
|
+ 'attr' => ['rows' => 5],
|
|
|
//'label_attr' => ['style' => 'display:none'],
|
|
|
]
|
|
|
)
|