Show Shift

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