Add "New Article" link to authors index
This commit is contained in:
@ -23,6 +23,11 @@
|
|||||||
Delete
|
Delete
|
||||||
</.link>
|
</.link>
|
||||||
</:action>
|
</:action>
|
||||||
|
<:action :let={author}>
|
||||||
|
<.link navigate={~p"/articles/new?author_id=#{author}"}>
|
||||||
|
New article
|
||||||
|
</.link>
|
||||||
|
</:action>
|
||||||
</.table>
|
</.table>
|
||||||
|
|
||||||
<.modal
|
<.modal
|
||||||
|
|||||||
Reference in New Issue
Block a user