Closed fwouts closed 12 years ago
Correct me if I'm wrong, but in standard Rails forms, you can specify HTML options such as a class for a <select> element with the following syntax:
<select>
f.select :field, choices, {}, { :class => 'my_css_class' }
With twitter_bootstrap_form_for, I was expecting the syntax to be:
f.select :field, label, choices, {}, { :class => 'my_css_class' }
However that solution does not seem to work. Is that a known issue?
Turns out my server was just ignoring the changes to my file, and rebooting it fixed it. Sorry about this!
No problem. :) Glad to hear it was resolved.
Correct me if I'm wrong, but in standard Rails forms, you can specify HTML options such as a class for a
<select>
element with the following syntax:With twitter_bootstrap_form_for, I was expecting the syntax to be:
However that solution does not seem to work. Is that a known issue?