aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_yesno.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/field_yesno.tpl')
-rw-r--r--view/tpl/field_yesno.tpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/view/tpl/field_yesno.tpl b/view/tpl/field_yesno.tpl
index 8a4cda55b..cd05b06d0 100644
--- a/view/tpl/field_yesno.tpl
+++ b/view/tpl/field_yesno.tpl
@@ -1,4 +1,4 @@
- <div class='clearfix form-group'>
+ <!--div class='clearfix mb-3'>
<label class="mainlabel" for='id_{{$field.0}}'>{{$field.1}}</label>
<div class='onoff' id="id_{{$field.0}}_onoff">
<input type="hidden" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
@@ -10,4 +10,10 @@
</a>
</div>
<small class='form-text text-muted'>{{$field.3}}</small>
- </div>
+ </div-->
+
+<div class="form-check form-switch">
+ <input class="form-check-input" type="checkbox" id="id_{{$field.0}}" value="{{$field.2}}" name="{{$field.0}}">
+ <label class="form-check-label" for="id_{{$field.0}}">{{$field.1}}</label>
+ <small class='form-text text-muted'>{{$field.3}}</small>
+</div>