Add terms of service to comply with Online Safety Act 2023 (#578)

This commit is contained in:
rubenwardy
2025-03-09 13:48:03 +00:00
committed by GitHub
parent 6891ee8b19
commit 5b0d42173f
8 changed files with 143 additions and 27 deletions

View File

@@ -34,15 +34,10 @@
</p>
{{ render_field(form.question, hint=_("Please prove that you are human")) }}
{% set label %}
{{ _("I agree to the ") }}
<a href="{{ url_for('flatpage', path='privacy_policy') }} ">
{{ _("Privacy Policy") }}
</a>
{% endset %}
{{ render_checkbox_field(form.agree, label=label, class_="my-4") }}
<p>
{{ _("By signing up, you agree to the <a href='/terms/' target='_blank'>Terms of Service</a> and <a href='/privacy_policy/' target='_blank'>Privacy Policy</a>.") }}
</p>
{# Submit button #}
<p>
{{ render_submit_field(form.submit, tabindex=180) }}
</p>