On Dec 2, 7:00 am, Andy
<jianandy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I have a date entry page with a text field that allow mulitple lines.
> When data is entered and displayed back, it is all displayed in one
> line. Could someone tell me what is wrong?
>
How are you displaying the text ? If you''re just regurgitating what
the user typed in then this is normal: HTML ignores line breaks. You
need to insert line break and paragraph tags as appropriate. The
simple_format helper can do this for you.
Fred
--
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@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.