Show Shift template

<%= if @live_action in [:edit] do %> <%= live_modal @socket, Shift73kWeb.ShiftTemplateLive.FormComponent, id: @shift_template.id, title: @page_title, action: @live_action, shift_template: @shift_template, return_to: Routes.shift_template_show_path(@socket, :show, @shift_template) %> <% end %> <%= live_patch "Edit", to: Routes.shift_template_show_path(@socket, :edit, @shift_template), class: "button" %> <%= live_redirect "Back", to: Routes.shift_template_index_path(@socket, :index) %>