mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 07:23:46 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue