Add first step of creating an Article

This commit is contained in:
Thelonius Kort
2022-12-27 23:23:16 +01:00
parent bdc12d6b06
commit 5cbf05f650
12 changed files with 211 additions and 6 deletions

View File

@ -5,6 +5,9 @@
<.link patch={~p"/authors/#{@author}/show/edit"} phx-click={JS.push_focus()}>
<.button>Edit author</.button>
</.link>
<.link patch={~p"/articles/new?author_id=#{@author}"} phx-click={JS.push_focus()}>
<.button>New article</.button>
</.link>
</:actions>
</.header>