Browse Source

Merge branch 'develop'

master
Guillaume Bourgeois 1 month ago
parent
commit
04b2656af5
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      Form/Ticket/TicketFormType.php

+ 9
- 0
Form/Ticket/TicketFormType.php View File



namespace Lc\CaracoleBundle\Form\Ticket; namespace Lc\CaracoleBundle\Form\Ticket;


use Karser\Recaptcha3Bundle\Form\Recaptcha3Type;
use Karser\Recaptcha3Bundle\Validator\Constraints\Recaptcha3;
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface; use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
use Lc\CaracoleBundle\Model\Order\OrderShopInterface; use Lc\CaracoleBundle\Model\Order\OrderShopInterface;
use Lc\CaracoleBundle\Model\Section\SectionInterface; use Lc\CaracoleBundle\Model\Section\SectionInterface;
'label' => 'Email' 'label' => 'Email'
] ]
); );

$builder->add('captcha', Recaptcha3Type::class, [
'constraints' => new Recaptcha3(),
'action_name' => 'contact',
//'script_nonce_csp' => $nonceCSP,
'locale' => 'fr',
]);
} }


$builder->add( $builder->add(

Loading…
Cancel
Save