You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to use something other than the views/movies/show.html.erb template for the details?
I need to keep the show for among other things editing the "movies". In quotes because I'm doing something other than movies.
Longer version. I'm using a "standard" index.html.erb that lists the items in a table. I like the idea of being able to click on "Show" in the Show, Edit, Destroy list and having an abbreviated version of the show page come up. Actually when I understand this better it's going to go a step or two beyond that if I can get my head around it.
Thank you.
The text was updated successfully, but these errors were encountered:
I may have found a workaround. Just wrap parts of the show.html.erb in the turbo_frame_tag. Probably means an if for normal and as a turbo-frame. But would be nice to have page with a name like details.html.erb
Thank you for the tutorial. Great
Is there a way to use something other than the
views/movies/show.html.erb
template for thedetails
?I need to keep the show for among other things editing the "movies". In quotes because I'm doing something other than movies.
Longer version. I'm using a "standard"
index.html.erb
that lists the items in a table. I like the idea of being able to click on "Show" in the Show, Edit, Destroy list and having an abbreviated version of the show page come up. Actually when I understand this better it's going to go a step or two beyond that if I can get my head around it.Thank you.
The text was updated successfully, but these errors were encountered: