MDL-66477 mod_forum: Enclose setting switch in div

This commit is contained in:
Jun Pataleta 2019-10-02 16:01:24 +08:00
parent 49f5b16c61
commit 83e1b0e7f1

View File

@ -32,12 +32,14 @@
{}
}}
<span class="switch">
<input type="checkbox" id="{{$switchid}}{{uniqid}}{{/switchid}}"
data-type="{{$type}}toggle-switch{{/type}}"
data-action="toggle"
{{$otherattributes}}{{/otherattributes}}/>
<label for="{{$switchid}}{{uniqid}}{{/switchid}}" class="line-height-4">
{{$labeltext}}{{/labeltext}}
</label>
</span>
<div>
<span class="switch">
<input type="checkbox" id="{{$switchid}}{{uniqid}}{{/switchid}}"
data-type="{{$type}}toggle-switch{{/type}}"
data-action="toggle" class="hidden"
{{$otherattributes}}{{/otherattributes}}/>
<label for="{{$switchid}}{{uniqid}}{{/switchid}}" class="line-height-4">
{{$labeltext}}{{/labeltext}}
</label>
</span>
</div>