Browse Source

[Frontend] Essai captcha (honey pot)

feature/export_comptable
Guillaume 4 years ago
parent
commit
12f2ba883c
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      ShopBundle/Form/Frontend/TicketType.php

+ 7
- 0
ShopBundle/Form/Frontend/TicketType.php View File

'translation_domain' => 'lcshop', 'translation_domain' => 'lcshop',
]) ; ]) ;
} }
else {
// captcha (honey pot)
$builder->add('body', TextType::class, [
'label' => 'Body',
'required' => false,
]) ;
}


$builder->add('subject', TextType::class, [ $builder->add('subject', TextType::class, [
'label' => 'Sujet' 'label' => 'Sujet'

Loading…
Cancel
Save