From d2d39f77de8813b575c8c11b2873a598b1696b03 Mon Sep 17 00:00:00 2001 From: Hugo Levy-Falk Date: Thu, 5 Sep 2019 19:00:13 +0200 Subject: [PATCH] Fix #216 --- users/forms.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/users/forms.py b/users/forms.py index 582b2f97..7bb68046 100644 --- a/users/forms.py +++ b/users/forms.py @@ -390,8 +390,13 @@ class AdherentCreationForm(AdherentForm): # Checkbox for GTU gtu_check = forms.BooleanField(required=True) - #gtu_check.label = mark_safe("{} {}{}".format( - # _("I commit to accept the"), GeneralOption.get_cached_value('GTU'), _("General Terms of Use"), _("."))) + gtu_check.label = mark_safe( + "{} {}{}".format( + _("I commit to accept the"), + GeneralOption.get_cached_value('GTU').url, + _("General Terms of Use"), _(".") + ) + ) class Meta: model = Adherent