Forum: Ruby on Rails Nested Templates

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4d690a85d2a67e8191dbcb33db12246b?d=identicon&s=25 ref3at (Guest)
on 2009-04-23 09:09
(Received via mailing list)
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.
This topic is locked and can not be replied to.