rubyonrails-c4f1mTqwXZkdnm+yROfE0A@public.gmane.org
2004-Nov-03 12:55 UTC
How to write own edit view
Hi As good as the scaffolding is, I still want to customize the edit page. However, I don''t want to write all the icky form code by hand. Does rails have some built in helpers to help me do this? Are there code examples that exist somewhere? -- Jim Freeze
rubyonrails-c4f1mTqwXZkdnm+yROfE0A@public.gmane.org wrote:> Hi > > As good as the scaffolding is, I still want to customize the edit page. > However, I don''t want to write all the icky form code by hand. > > Does rails have some built in helpers to help me do this? > Are there code examples that exist somewhere?You could do <%= form(@modelobject) %> which spews out the form for you. -- Marten Veldthuis