commit28a23b5a57
Author: Minecon724 <minecon724@noreply.git.m724.eu> Date: Sat Sep 13 11:57:09 2025 +0000 Add the form commit3fed792929
Author: Minecon724 <minecon724@noreply.git.m724.eu> Date: Sat Sep 13 11:56:59 2025 +0000 Add the config option
21 lines
801 B
Go HTML Template
21 lines
801 B
Go HTML Template
{{ if (.TermsOfServiceURL) }}
|
|
<div class="inline field required">
|
|
<div class="ui checkbox">
|
|
<input id="consent_terms" name="consent_terms" type="checkbox">
|
|
<label for="consent_terms">{{ ctx.Locale.Tr "consent.terms_of_service" .TermsOfServiceURL }}</label>
|
|
</div>
|
|
</div>
|
|
{{ else }}
|
|
<input id="consent_terms" name="consent_terms" type="checkbox" checked hidden>
|
|
{{ end }}
|
|
|
|
{{ if (.PrivacyPolicyURL) }}
|
|
<div class="inline field required">
|
|
<div class="ui checkbox">
|
|
<input id="consent_privacy" name="consent_privacy" type="checkbox">
|
|
<label for="consent_privacy">{{ ctx.Locale.Tr "consent.privacy_policy" .PrivacyPolicyURL }}</label>
|
|
</div>
|
|
</div>
|
|
{{ else }}
|
|
<input id="consent_privacy" name="consent_privacy" type="checkbox" checked hidden>
|
|
{{ end }}
|