From c44344cd351e1a590683036ab6a663fd65769625 Mon Sep 17 00:00:00 2001 From: Thelonius Kort Date: Wed, 28 Dec 2022 14:32:44 +0100 Subject: [PATCH] Add "New Article" link to authors index --- lib/outlook_web/live/author_live/index.html.heex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/outlook_web/live/author_live/index.html.heex b/lib/outlook_web/live/author_live/index.html.heex index 085fdae..2106239 100644 --- a/lib/outlook_web/live/author_live/index.html.heex +++ b/lib/outlook_web/live/author_live/index.html.heex @@ -23,6 +23,11 @@ Delete + <:action :let={author}> + <.link navigate={~p"/articles/new?author_id=#{author}"}> + New article + + <.modal