Cena, Resty
2005-Oct-24 17:23 UTC
RE: Re: Sqlite text field comes out as huge text box on Rails
Ian, Thanks much! gk -----Original Message----- From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Ian Kennedy Sent: Monday, October 24, 2005 11:11 AM To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails] Re: Sqlite text field comes out as huge text box on Rails find the text_area field in your _form partial and you can add the ''cols'' and ''rows'' attributes, like so: <%= text_area ''model'', ''column'', "class" => "your-css-class", "cols" => 27, "rows" => 3 %> hope that helps. -- -- Ian Kennedy http://www.fiftymillimeter.com _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails This e-mail contains confidential information that is proprietary to EPCOR and its subsidiary companies in all respects. This information is intended only for the person(s) named in the destination address. Unauthorized distribution, copying or disclosure is strictly prohibited. If you receive this e-mail in error, please delete it immediately.