Nested Templates


#1

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.