Update the style for AuthorRoles' nested forms for the Book's form.
This commit is contained in:
@@ -212,7 +212,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.FormComponent do
|
||||
<thead class="border-b border-zinc-100">
|
||||
<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-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 w-12"></th>
|
||||
</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"/>
|
||||
</svg>
|
||||
</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>
|
||||
<.input field={author_roles_form[:author_id]} />
|
||||
<.selected_author
|
||||
author_form={author_roles_form[:author_id]}
|
||||
notify_component={@notify_component}
|
||||
form_path={author_roles_form.name}
|
||||
class="mt-2 w-full"
|
||||
/>
|
||||
</td>
|
||||
<td class="px-3">
|
||||
|
||||
Reference in New Issue
Block a user