Displaying 1 result from an estimated 1 matches for "field_label".
2008 Jan 23
1
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
<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="o...