mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +00:00
Fix #216
This commit is contained in:
parent
41cbd572c0
commit
d2d39f77de
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue