I want to be able to add a class to the label sometimes, and I can't figure out a way to do it.
In order to do this in my own project I've added an option 'label_html'. This is just like the simple_form option in that it allows you to set ids/classes on the label.
I want to be able to add a class to the label sometimes, and I can't figure out a way to do it.
In order to do this in my own project I've added an option 'label_html'. This is just like the simple_form option in that it allows you to set ids/classes on the label.
e.g.
Let's you put a 'required' class on the label
Pull request: https://github.com/stouset/twitter_bootstrap_form_for/pull/66