Displaying 1 result from an estimated 1 matches for "dowcor".
Did you mean:
dowcore
2010 Nov 01
2
form_for .label class
Hi,
Could anyone tell me what I''m doing wrong below when trying to apply a
style to the following label and text field
<div class="group">
<%= f.label :name, :html => {:class => "label"} %>
<%= f.text_field :name, :html => {:class => "label"} %>
</div>
Doesn''t work at all, the form however picks