Hi
I have a text are in my edit form as below
<%= text_area "sd_ticket", "description", "cols" => 80, "rows" => 5 %>
And here i am entering some text with spaces and enter keys ..Now
suppose if it has some 4 paragraphs My problem is when i try to view the
same data in view mode it is not formatted as i gave rather it shows
like its own style I dont get as much enter keys (pargraphs) as I gave
mainly. I used view code like
<%=h @sd_ticket.description %>
What might be the reason.Please help. I tried the above without h
method ie
<%=h @sd_ticket.description %> then also no difference
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---