[Rails] Re: Using partials with form_for

2009-02-07 Thread Sahil Dave
On Feb 6, 3:35 pm, Frederick Cheung wrote: > You need to pass the form builder object to the partial (eg via   > locals). You are passing it, but then you're not using it, so if you   > change your partial to use partner.error_messages etc... it should work. > > Alternatively you could just do

[Rails] Re: Using partials with form_for

2009-02-06 Thread Frederick Cheung
On 6 Feb 2009, at 10:06, Sahil Dave wrote: > hi all > > i was wondering whether it is possible to use partials along with > form_for and form_field. following code is not working. is there > some error or this case is impossible..?? > You need to pass the form builder object to the partial (