8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +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
gtu_check = forms.BooleanField(required=True)
#gtu_check.label = mark_safe("{} <a href='/media/{}' download='CGU'>{}</a>{}".format(
# _("I commit to accept the"), GeneralOption.get_cached_value('GTU'), _("General Terms of Use"), _(".")))
gtu_check.label = mark_safe(
"{} <a href='{}' download='CGU'>{}</a>{}".format(
_("I commit to accept the"),
GeneralOption.get_cached_value('GTU').url,
_("General Terms of Use"), _(".")
)
)
class Meta:
model = Adherent