Add link to terms

This commit is contained in:
Jannis Portmann 2022-01-24 15:34:35 +01:00
parent af12833642
commit 3135c26345

View file

@ -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.',