Hello.
I’m following the example in the Advanced Rails Recipes book for Keeping
Forms DRY and Flexible - #22.
I think the last little hurdle that I have is applying my CSS style to
the field labels.
This is in the partial for displaying the field
<%= label %> <%= element %>
I want to stylize the class field_label.
When I view the html, it looks like this:
Customer
My thought is that the label for breaks the CSS style.
The code that generates the html is this:
:label => label(field, options[:label])
Any ideas on how I can apply my CSS style?
Thanks!