diff --git a/lib/link_shortener_web/live/link_live/show.html.heex b/lib/link_shortener_web/live/link_live/show.html.heex index 53fe938..9e8aac1 100644 --- a/lib/link_shortener_web/live/link_live/show.html.heex +++ b/lib/link_shortener_web/live/link_live/show.html.heex @@ -1,6 +1,6 @@ <.header> Link <%= @link.id %> - <:subtitle>This is a link record from your database. + <:subtitle>This is a link record. <:actions> <.link patch={~p"/links/#{@link}/show/edit"} phx-click={JS.push_focus()}> <.button>Edit link @@ -9,6 +9,9 @@ <.list> + <:item title="Name"><%= @link.name %> + <:item title="Url"><%= @link.url %> + <:item title="Shorten"><%= @link.shorten %> <.back navigate={~p"/links"}>Back to links @@ -20,6 +23,7 @@ title={@page_title} action={@live_action} link={@link} + current_user={@current_user} patch={~p"/links/#{@link}"} />