You might want to try something like
render :partial => ''your_partial'', :locals => {:edit
=> true}
and then in the partial
<% if edit -%>
yeehaa, you might edit
<% end -%>
Cheers,
Jan
On 8/4/06, Idiot Newbie <kevin_chambers@yahoo.com>
wrote:>
> I''m using a partial to render both my new and edit views. How do
I
> indicate that I want specific fields to be display only on the edit
> form?
>
> Thanks for the help.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060804/e6f65ef7/attachment.html