From 3135c2634538bdcc0a08ebbd5ac09451ac978115 Mon Sep 17 00:00:00 2001 From: thisfro Date: Mon, 24 Jan 2022 15:34:35 +0100 Subject: [PATCH] Add link to terms --- src/Form/RegistrationFormType.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Form/RegistrationFormType.php b/src/Form/RegistrationFormType.php index 1a50b0f..9d9d83c 100644 --- a/src/Form/RegistrationFormType.php +++ b/src/Form/RegistrationFormType.php @@ -46,6 +46,8 @@ class RegistrationFormType extends AbstractType ]) ->add('agreeTerms', CheckboxType::class, [ 'mapped' => false, + 'label' => 'Agree to Terms', + 'label_html' => true, 'constraints' => [ new IsTrue([ 'message' => 'You need to agree to our terms.',