On 28 March 2010 07:38, Constantin
<constantin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I have an edit form with multiple input fields, however I would like
> some of the object data to be displayed just as reference data, not in
> an actual input field. How do I include simple object data in a form,
> without including it in an input field?
<%= @some_object.fieldname %>
Unless I misunderstand the question.
This is such a basic question that I suspect you would benefit from
reading the guides at http://guides.rubyonrails.org/.
Colin
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.