8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 19:33:11 +00:00
This commit is contained in:
Hugo Levy-Falk 2019-09-05 19:00:13 +02:00 committed by klafyvel
parent 41cbd572c0
commit d2d39f77de

View file

@ -390,8 +390,13 @@ class AdherentCreationForm(AdherentForm):
# Checkbox for GTU # Checkbox for GTU
gtu_check = forms.BooleanField(required=True) gtu_check = forms.BooleanField(required=True)
#gtu_check.label = mark_safe("{} <a href='/media/{}' download='CGU'>{}</a>{}".format( gtu_check.label = mark_safe(
# _("I commit to accept the"), GeneralOption.get_cached_value('GTU'), _("General Terms of Use"), _("."))) "{} <a href='{}' download='CGU'>{}</a>{}".format(
_("I commit to accept the"),
GeneralOption.get_cached_value('GTU').url,
_("General Terms of Use"), _(".")
)
)
class Meta: class Meta:
model = Adherent model = Adherent