I want the user to be able to toggle between view and edit modes
within the same page without having to request a different page for
each. I know I could just copy the code from my edit.html.erb page to
the show.html.erb but that wouldn't be DRY. Are there DRYer
approaches? Is there a way of "calling"/"nesting" my edit template in
the show template.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to