diff --git a/lib/decentralised_book_index_web/live/publisher_live/show.ex b/lib/decentralised_book_index_web/live/publisher_live/show.ex index 47e3f55..abb9c3f 100644 --- a/lib/decentralised_book_index_web/live/publisher_live/show.ex +++ b/lib/decentralised_book_index_web/live/publisher_live/show.ex @@ -4,9 +4,8 @@ defmodule DecentralisedBookIndexWeb.PublisherLive.Show do @impl true def render(assigns) do ~H""" - Publisher {@publisher.id} - <:subtitle>This is a publisher record from your database. <.header class="flex-col lg:flex-row"> + {@publisher.name} <:actions> <.link patch={~p"/publishers/#{@publisher}/edit"} phx-click={JS.push_focus()}> @@ -17,12 +16,6 @@ defmodule DecentralisedBookIndexWeb.PublisherLive.Show do - <.list> - <:item title="Id">{@publisher.id} - - <:item title="Name">{@publisher.name} - - <.back navigate={~p"/publishers"}>Back to publishers """ end