I use HTML::FillInForm in a filter block for this, works great.
Anthony Ettinger wrote: >I want to re-use a form partial for both edit and create views on an >object...what is the best way to allow the form to be populated if >data exists. > >I currently am doing like this for every input field: > ><textarea name="message" id="message" cols="10" rows="30"><% $message >? $message : '' %></textarea> > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users