<.header> Book read {@book_read.id} <:subtitle>This is a book_read record from your database. <:actions> <.link patch={~p"/book_reads/#{@book_read}/show/edit"} phx-click={JS.push_focus()}> <.button>Edit book_read <.list> <:item title="Rating">{@book_read.rating} <:item title="Thoughts">{@book_read.thoughts} <:item title="Read start">{@book_read.read_start} <:item title="Read finish">{@book_read.read_finish} <:item title="Progress">{@book_read.progress} <.back navigate={~p"/book_reads"}>Back to book_reads <.modal :if={@live_action == :edit} id="book_read-modal" show on_cancel={JS.patch(~p"/book_reads/#{@book_read}")}> <.live_component module={WildWeb.BookReadLive.FormComponent} id={@book_read.id} title={@page_title} action={@live_action} book_read={@book_read} patch={~p"/book_reads/#{@book_read}"} />