I'm using Rails 4 and Simple Form with Bootstrap.

I want that my checkbox will not like that:

```
<%= c.input :my_bool_field, label: false, class: "form-control" %>

```

[![enter image description here](https://i.stack.imgur.com/zZBgv.png)](https://i.stack.imgur.com/zZBgv.png)

but something like that (I have the CSS for that)

```
<label class="switch switch-primary">
    <input type="checkbox" />
    <span></span>
</label>

```

[![enter image description here](https://i.stack.imgur.com/YFeQt.png)](https://i.stack.imgur.com/YFeQt.png)

I know I can use simple\_form wrappers, but I find them a little bit confusing.. Can someone help me up creating the checkbox with that styling?