|
|
@ -212,7 +212,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.FormComponent do
|
|
|
|
<thead class="border-b border-zinc-100">
|
|
|
|
<thead class="border-b border-zinc-100">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th class="text-left font-medium text-sm pb-1 px-3 w-10"></th>
|
|
|
|
<th class="text-left font-medium text-sm pb-1 px-3 w-10"></th>
|
|
|
|
<th class="text-left font-medium text-sm pb-1 px-3 w-96 dark:text-white">Author</th>
|
|
|
|
<th class="text-left font-medium text-sm pb-1 px-3 w-48 dark:text-white">Author</th>
|
|
|
|
<th class="text-left font-medium text-sm pb-1 px-3 dark:text-white">Role</th>
|
|
|
|
<th class="text-left font-medium text-sm pb-1 px-3 dark:text-white">Role</th>
|
|
|
|
<th class="text-left font-medium text-sm pb-1 px-3 w-12"></th>
|
|
|
|
<th class="text-left font-medium text-sm pb-1 px-3 w-12"></th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
@ -225,13 +225,14 @@ defmodule DecentralisedBookIndexWeb.BookLive.FormComponent do
|
|
|
|
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m8 15 4 4 4-4m0-6-4-4-4 4"/>
|
|
|
|
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m8 15 4 4 4-4m0-6-4-4-4 4"/>
|
|
|
|
</svg>
|
|
|
|
</svg>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="px-3 w-96">
|
|
|
|
<td class="px-3 w-48">
|
|
|
|
<label for={author_roles_form[:author_id].id} class="hidden">Type</label>
|
|
|
|
<label for={author_roles_form[:author_id].id} class="hidden">Type</label>
|
|
|
|
<.input field={author_roles_form[:author_id]} />
|
|
|
|
<.input field={author_roles_form[:author_id]} />
|
|
|
|
<.selected_author
|
|
|
|
<.selected_author
|
|
|
|
author_form={author_roles_form[:author_id]}
|
|
|
|
author_form={author_roles_form[:author_id]}
|
|
|
|
notify_component={@notify_component}
|
|
|
|
notify_component={@notify_component}
|
|
|
|
form_path={author_roles_form.name}
|
|
|
|
form_path={author_roles_form.name}
|
|
|
|
|
|
|
|
class="mt-2 w-full"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="px-3">
|
|
|
|
<td class="px-3">
|
|
|
|