<.header> Task <%= @task.id %> <:subtitle>This is a task record from your database. <:actions> <.link patch={~p"/tasks/#{@task}/show/edit"} phx-click={JS.push_focus()}> <.button>Edit task <.list> <:item title="Description"><%= @task.description %> <:item title="Emoji"><%= @task.emoji %> <:item title="Completed at"><%= @task.completed_at %> <:item title="Phase"><%= @task.phase %> <.back navigate={~p"/tasks"}>Back to tasks <.modal :if={@live_action == :edit} id="task-modal" show on_cancel={JS.patch(~p"/tasks/#{@task}")}> <.live_component module={HomemanWeb.TaskLive.FormComponent} id={@task.id} title={@page_title} action={@live_action} task={@task} patch={~p"/tasks/#{@task}"} />