streams/view/tpl/field_intcheckbox.tpl

6 lines
553 B
Smarty
Raw Permalink Normal View History

2017-03-31 14:13:58 +00:00
<div class="clearfix form-group checkbox">
<label for="id_{{$field.0}}">{{$field.1}}</label>
2023-01-27 23:02:51 +00:00
<div class="float-end"><input type="checkbox" name="{{$field.0}}" id="id_{{$field.0}}" value="{{$field.3}}" {{if $field.2}}checked="checked"{{/if}}><label class="switchlabel" for="id_{{$field.0}}"> <span class="onoffswitch-inner" data-on="{{if $field.5}}{{$field.5.1}}{{/if}}" data-off="{{if $field.5}}{{$field.5.0}}{{/if}}"></span><span class="onoffswitch-switch"></span> </label></div>
2017-03-31 14:13:58 +00:00
<small class="form-text text-muted">{{$field.4}}</small>
</div>