Bootstrap Switch v3.3.2
We added a new design for the switches to look like the rest of the dashboard.
For more information please check Full Documentation
<!-- markup -->
<input class="bootstrap-switch" type="checkbox" data-toggle="switch" checked="" data-on-color="default" data-off-color="default" data-on-label="ON" data-off-label="OFF">
<input class="bootstrap-switch" type="checkbox" data-toggle="switch" data-off-color="default" data-on-color="default" data-on-label="ON"
data-off-label="OFF">
<!-- javascript init -->
$('.bootstrap-switch').each(function(){
$this = $(this);
data_on_label = $this.data('on-label') || '';
data_off_label = $this.data('off-label') || '';
$this.bootstrapSwitch({
onText: data_on_label,
offText: data_off_label
});
});