Use bootstrap 5 checkboxes.

This commit is contained in:
Jan Böhmer 2022-07-24 18:44:05 +02:00
parent 017170e2d6
commit 43b4c78553
21 changed files with 59 additions and 134 deletions

View file

@ -35,8 +35,8 @@
<div class="form-group row mt-3">
<div class="offset-3">
<div class="custom-checkbox custom-control ms-2">
<input id="_trusted" class="custom-control-input" type="checkbox" name="{{ trustedParameterName }}" />
<label class="custom-control-label" for="_trusted">{% trans %}tfa.code.trusted_pc{% endtrans %}</label>
<input id="_trusted" class="form-check-input" type="checkbox" name="{{ trustedParameterName }}" />
<label class="form-check-label" for="_trusted">{% trans %}tfa.code.trusted_pc{% endtrans %}</label>
</div>
</div>
</div>

View file

@ -45,8 +45,8 @@
<div class="form-group row">
<div class="col-md-9 offset-md-3 col-lg-10 offset-lg-2">
<div class="custom-control custom-checkbox custom-control-inline">
<input class="custom-control-input" name="_remember_me" id="remember_me" type="checkbox">
<label class="custom-control-label" for="remember_me">
<input class="form-check-input" name="_remember_me" id="remember_me" type="checkbox">
<label class="form-check-label" for="remember_me">
{% trans %}login.rememberme{% endtrans %}
</label>
</div>