On Dec 2, 7:00 am, Andy <[email protected]> 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 [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