Show <%= schema.human_singular %>

<%%= if @live_action in [:edit] do %> <.modal return_to={Routes.<%= schema.route_helper %>_show_path(@socket, :show, @<%= schema.singular %>)}> <.live_component module={<%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>Live.FormComponent} id={@<%= schema.singular %>.id} title={@page_title} action={@live_action} <%= schema.singular %>={@<%= schema.singular %>} return_to={Routes.<%= schema.route_helper %>_show_path(@socket, :show, @<%= schema.singular %>)} /> <%% end %> <%%= live_patch "Edit", to: Routes.<%= schema.route_helper %>_show_path(@socket, :edit, @<%= schema.singular %>), class: "button" %> | <%%= live_redirect "Back", to: Routes.<%= schema.route_helper %>_index_path(@socket, :index) %>