From cb0c9d7a8382aae3c1a5d2858772549053635acc Mon Sep 17 00:00:00 2001 From: Inhji Date: Sun, 9 Apr 2023 13:43:54 +0200 Subject: [PATCH] add edit link to public notes --- lib/chiya_web/controllers/page_html/note.html.heex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/chiya_web/controllers/page_html/note.html.heex b/lib/chiya_web/controllers/page_html/note.html.heex index b65d28d..b69daa9 100644 --- a/lib/chiya_web/controllers/page_html/note.html.heex +++ b/lib/chiya_web/controllers/page_html/note.html.heex @@ -7,6 +7,10 @@ Published · Last Updated + <%= if @current_user do %> + · + Edit + <% end %>