Bootstrap Switch v3.3.4
We added a new design for the switches to look like the rest of the dashboard.
For more information please check Full Github Documentation.
<label>
<input type="checkbox" data-toggle="switch" checked="" data-on-color="default" data-off-color="default">
<span class="toggle"></span>
</label>
<label>
<input type="checkbox" data-toggle="switch" data-off-color="default" data-on-color="default">
<span class="toggle"></span>
</label>
if($("[data-toggle='switch']").length != 0){
$("[data-toggle='switch']").bootstrapSwitch();
}