use text_area
for example
<%=
text_area(:product,:description ,:size=>"100x10",:disabled=>"disabled")
%>

I hope that will help.

On May 24, 3:13 pm, Ainar Abramovich <[email protected]>
wrote:
> Hi to everyone! I need to split one long line in two or multiple
> lines.. how can I do that? I have a form where you can write in for
> example 200 character long line ("aaaaaaaaa..."), when I submit
> it(line contains no spaces), char line updates in my blog, but the
> only bug is there that line is posted in its real length 200 chars
> from left to right all over other borders, can I set maxlength of it
> or something like that? (Example: when form echoes line it should be
> 100px long height:relative)
>
> --
> 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 
> athttp://groups.google.com/group/rubyonrails-talk?hl=en.

-- 
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