mirror of https://github.com/zulip/zulip.git
/create_realm/: Change TOS checkbox to feature new styling.
This changes the TOS checkbox to use the internal checkbox styling rather than the unstyled default appearance.
This commit is contained in:
parent
df9092cf42
commit
968a8a0b6c
|
@ -135,9 +135,10 @@ Form is validated both client-side using jquery-validate (see signup.js) and ser
|
|||
This is distinct from 'checked', which determines whether the checkbox appears
|
||||
at all. (So, it's not symmetric to the code above.)
|
||||
#}
|
||||
<input id="id_terms" class="required" type="checkbox" name="terms"
|
||||
{% if form.terms.value() %}checked="checked"{% endif %} />
|
||||
<label for="id_terms" class="inline-block">
|
||||
<label for="id_terms" class="inline-block checkbox">
|
||||
<input id="id_terms" class="required" type="checkbox" name="terms"
|
||||
{% if form.terms.value() %}checked="checked"{% endif %} />
|
||||
<span></span>
|
||||
{% trans %}I agree to the <a href="{{ root_domain_uri }}/terms" target="_blank">Terms of Service</a>.{% endtrans %}
|
||||
</label>
|
||||
{% if form.terms.errors %}
|
||||
|
|
Loading…
Reference in New Issue