Add the link to the reservation conditions to the booking form

This text must be created in the administration interface, but whatever.
This commit is contained in:
jordi fita mas 2023-12-22 02:29:06 +01:00
parent 03c20fec88
commit 12d5356455
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@
<label>
<input type="checkbox" required name="{{ .Name }}" {{ if .Checked}}checked{{ end }}
{{ template "error-attrs" . }}
> {{( pgettext "I have read and I accept the reservation conditions" "input" )}}</label><br>
> {{ printf ( pgettext "I have read and I accept <a href=\"%s\" target=\"_blank\">the reservation conditions</a>" "input" ) (print "/" currentLocale "/legal/reservation") | raw }}</label><br>
{{ template "error-message" . }}
{{- end }}
</fieldset>