<.link navigate={~p"/"}>
  <.icon name="hero-arrow-left" /> Back to list
</.link>
<.header>
  <%= @item.title %>
</.header>

<div :if={@item.image_url}>
  <img src={@item.image_url} />
</div>

<.button phx-click={JS.push("toggle_received", value: %{"id" => @item.id})}>
  Toggle Received
</.button>
