Add link to terms
This commit is contained in:
parent
af12833642
commit
3135c26345
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ class RegistrationFormType extends AbstractType
|
|||
])
|
||||
->add('agreeTerms', CheckboxType::class, [
|
||||
'mapped' => false,
|
||||
'label' => 'Agree to <a href="/imprint" target="_blank">Terms</a>',
|
||||
'label_html' => true,
|
||||
'constraints' => [
|
||||
new IsTrue([
|
||||
'message' => 'You need to agree to our terms.',
|
||||
|
|
Reference in a new issue