Hi,
I am just getting into Rails and I thought I''d try Markaby too.
I have a mab file with the following in it:
form_for :user do |form|
p do
label "First Name:", :for => "first_name"
form.text_field :first_name, :size => 40
end
(... cut similar)
submit_tag "Add User", :class => "submit"
end
This renders the label but does not render the text field. If I
comment out the label line, it renders the text field. Why can''t I get
both to work, what am I doing wrong?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---