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 }}
|