2017-01-03 16:33:01 +00:00
|
|
|
|
|
|
|
<div class="field yesno">
|
|
|
|
<label for="id_{{$field.0}}">{{$field.1}}</label>
|
|
|
|
<div class="onoff toggle btn btn-xs pull-right" id="id_{{$field.0}}_onoff">
|
|
|
|
|
|
|
|
<div class="switchlabel toggle-group">
|
2018-12-15 01:42:24 +00:00
|
|
|
<input type="hidden" name="{{$field.0}}" id="id_{{$field.0}}" value="{{$field.2 nofilter}}" aria-describedby="{{$field.0}}_tip">
|
2017-01-03 16:33:01 +00:00
|
|
|
<label class="btn btn-default btn-xs active toggle-off">
|
|
|
|
{{if $field.4}}{{$field.4.0}}{{else}}OFF{{/if}}
|
|
|
|
</label>
|
|
|
|
<label class="btn btn-primary btn-xs toggle-on">
|
|
|
|
{{if $field.4}}{{$field.4.1}}{{else}}ON{{/if}}
|
|
|
|
</label>
|
|
|
|
<span class="toggle-handle btn btn-default btn-xs"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-23 19:15:54 +00:00
|
|
|
{{if $field.3}}
|
2018-12-14 03:35:51 +00:00
|
|
|
<span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3 nofilter}}</span>
|
2018-04-23 19:15:54 +00:00
|
|
|
{{/if}}
|
2017-01-03 16:33:01 +00:00
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|