feat: additional conformation checkbox for terms and conditions
addresses #869axbm44
This commit is contained in:
@@ -21,7 +21,16 @@ class BookingCreateStep4Type extends AbstractType
|
||||
'mapped' => false,
|
||||
'constraints' => [
|
||||
new Assert\IsTrue(
|
||||
message: 'Bitte bestätigen Sie Ihre Buchung.'
|
||||
message: 'Bitte bestätige'
|
||||
),
|
||||
],
|
||||
])
|
||||
->add('termsAccepted', CheckboxType::class, [
|
||||
'label' => 'Ich bestätige, dass ich die AGB akzeptiere',
|
||||
'mapped' => false,
|
||||
'constraints' => [
|
||||
new Assert\IsTrue(
|
||||
message: 'Bitte bestätige'
|
||||
),
|
||||
],
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user