# Adv. Rails Recipes - Problem w/ DRY forms

**URL:** <https://www.ruby-forum.com/t/adv-rails-recipes-problem-w-dry-forms/126969>\
**Category:** Rails\
**Created:** [January 23, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/adv-rails-recipes-problem-w-dry-forms/126969 "2008-01-23T21:27:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![newrubygirl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e274bd/32.png) [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Post date:** [January 23, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/adv-rails-recipes-problem-w-dry-forms/126969/1 "2008-01-23T21:27:38Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![newrubygirl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e274bd/32.png) [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Post date:** [January 23, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/adv-rails-recipes-problem-w-dry-forms/126969/2 "2008-01-23T22:11:07Z")

</div>

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