Use a native checkbox on the login page too

This commit is contained in:
Danielle McLean 2018-03-23 13:17:11 +11:00
parent 7e50300942
commit 418f501afa
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -31,9 +31,9 @@
{% form_field form.password %} {% form_field form.password %}
{% form_field form.otp_token %} {% form_field form.otp_token %}
<div class="custom-control custom-checkbox"> <div class="form-group form-check">
<input id="id_{{ form.otp_trust_agent.name }}" name="{{ form.otp_trust_agent.name }}" class="custom-control-input" type="checkbox" /> <input id="id_{{ form.otp_trust_agent.name }}" name="{{ form.otp_trust_agent.name }}" class="form-check-input" type="checkbox" />
<label for="id_{{ form.otp_trust_agent.name }}" class="custom-control-label">remember this browser (don't tick this on a public computer!)</label> <label for="id_{{ form.otp_trust_agent.name }}" class="form-check-label">remember this browser (don't tick this on a public computer!)</label>
</div> </div>
</div> </div>