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 up the right style when I
use this code ...

<% form_for [:admin, @organisation], :html => {:class => "form"} do |
f| %>

Thanks in advance!

Richie.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to