This commit is contained in:
@@ -18,7 +18,7 @@ defmodule DecentralisedBookIndexWeb.Components.MyComponents.AuthorCard do
|
|||||||
<div id={"dropdown#{@author.id}"} class="z-10 hidden text-base list-none bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700">
|
<div id={"dropdown#{@author.id}"} class="z-10 hidden text-base list-none bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700">
|
||||||
<ul class="py-2" aria-labelledby="dropdownButton">
|
<ul class="py-2" aria-labelledby="dropdownButton">
|
||||||
<li>
|
<li>
|
||||||
<.link navigate={~p"/authors/#{@author.id}"}
|
<.link navigate={~p"/authors/#{@author.id}/edit"}
|
||||||
class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
|
class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
|
||||||
>
|
>
|
||||||
Edit
|
Edit
|
||||||
|
|||||||
Reference in New Issue
Block a user