Sfoglia il codice sorgente

[Frontend] Essai captcha (honey pot)

feature/export_comptable
Guillaume 4 anni fa
parent
commit
12f2ba883c
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. +7
    -0
      ShopBundle/Form/Frontend/TicketType.php

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

@@ -81,6 +81,13 @@ class TicketType extends AbstractType
'translation_domain' => 'lcshop',
]) ;
}
else {
// captcha (honey pot)
$builder->add('body', TextType::class, [
'label' => 'Body',
'required' => false,
]) ;
}

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

Loading…
Annulla
Salva