From: Leslie Viljoen Date: 2007-05-03T04:50:02+09:00 Subject: Re: how to increase the width of a field in rails ------=_Part_8930_12922745.1178135400486 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 5/2/07, anansi wrote: > > Hi, > when I created a scaffold for the input of some data ,the following was > created as new.rhtml: > >

New entry

> > <% form_tag :action => 'create' do %> > <%= render :partial => 'form' %> You need to look in the 'form' partial (_form.rhtml). Find the 'news' field and add a :cols=>40 or whatever. Here's the full text_area syntax: text_area("post", "body", "cols" => 20, "rows" => 40) ..which I got from http://api.rubyonrails.com. For any Rails work, I highly recommend the book "Agile Web Development with Rails" Les ------=_Part_8930_12922745.1178135400486--