Fix the Book FormComponent to add AuthorRoles if a new book.

This commit is contained in:
2025-04-24 21:48:59 +03:00
parent d8e982782e
commit 9205d91a0b
@@ -27,7 +27,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.FormComponent do
label="Description"
/>
<.bids_inputs form={@form} myself={@myself} />
<.author_roles_inputs form={@form} myself={@myself} />
<.author_roles_inputs form={@form} myself={@myself} notify_component={@myself} />
<.input field={@form[:format]} type="text" label="Format" />
<.input
field={@form[:language]}