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
<p> <span class="field_label"> <%= label %> </span> <span class="form_field"> <%= element %> </span> </p>
I want to stylize the class field_label.
When I view the html, it looks like this: <span class="field_label"> <label for="order_customer_id">Customer</label> </span>
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!