From a78e25da4ae945d5818a80959c6190d692a0327a Mon Sep 17 00:00:00 2001 From: Inhji Date: Sun, 9 Apr 2023 18:36:00 +0200 Subject: [PATCH] add link slug to copy --- lib/chiya_web/live/note_show_live.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/chiya_web/live/note_show_live.ex b/lib/chiya_web/live/note_show_live.ex index 39dcb6e..388a4c1 100644 --- a/lib/chiya_web/live/note_show_live.ex +++ b/lib/chiya_web/live/note_show_live.ex @@ -12,7 +12,9 @@ defmodule ChiyaWeb.NoteShowLive do ~H""" <.header> <%= @note.name %> - <:subtitle><%= @note.slug %> + <:subtitle> +
[[<%= @note.slug %>]]
+ <:actions> <.link href={~p"/admin/notes/#{@note}/edit"}> <.button>Edit -- 2.39.5