Adv. Rails Recipes - Problem w/ DRY forms

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!

Nevermind… I found the problem. It wasn’t recognizing my stylesheet.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs