Changeset View
Changeset View
Standalone View
Standalone View
common/templates/common/components/checkbox_toggle.html
| <div class="col-auto text-right"> | <div class="col-auto text-right"> | ||||
| <div class="form-group mb-0"> | <div class="form-group mb-0"> | ||||
| <label class="form-group mb-0 form-switch"> | <label class="form-group mb-0 form-switch"> | ||||
| {% if checked %} | {% if checked %} | ||||
| <input type="checkbox" class="form-check-input" checked="checked"> | <input type="checkbox" class="form-check-input" checked="checked"> | ||||
| {% else %} | {% else %} | ||||
| <input type="checkbox" class="form-check-input"> | <input type="checkbox" class="form-check-input"> | ||||
| {% endif %} | {% endif %} | ||||
| <span class="slider"></span> | <span class="slider"></span> | ||||
| </label> | </label> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||