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 Documentation

<!-- markup -->
<input type="checkbox" checked name="checkbox" class="bootstrap-switch"
    data-on-label="ON"
    data-off-label="OFF"
/>
<input type="checkbox" name="checkbox" class="bootstrap-switch"
    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
    });
});