Add first step of creating an Article
This commit is contained in:
@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user