add link slug to copy #55
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@ defmodule ChiyaWeb.NoteShowLive do
|
||||||
~H"""
|
~H"""
|
||||||
<.header>
|
<.header>
|
||||||
<%= @note.name %>
|
<%= @note.name %>
|
||||||
<:subtitle><%= @note.slug %></:subtitle>
|
<:subtitle>
|
||||||
|
<pre class="p-1 bg-gray-100 rounded select-all">[[<%= @note.slug %>]]</pre>
|
||||||
|
</:subtitle>
|
||||||
<:actions>
|
<:actions>
|
||||||
<.link href={~p"/admin/notes/#{@note}/edit"}>
|
<.link href={~p"/admin/notes/#{@note}/edit"}>
|
||||||
<.button>Edit</.button>
|
<.button>Edit</.button>
|
||||||
|
|
Loading…
Reference in a new issue