diff --git a/lib/decentralised_book_index_web/live/book_live/form_component.ex b/lib/decentralised_book_index_web/live/book_live/form_component.ex index 5fbfafa..e46fa13 100644 --- a/lib/decentralised_book_index_web/live/book_live/form_component.ex +++ b/lib/decentralised_book_index_web/live/book_live/form_component.ex @@ -36,7 +36,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.FormComponent do /> <.input field={@form[:page_count]} type="number" label="Page count" />
- <.label>Publisher + <.input field={@form[:publisher_id]} type="text" label="Publisher" type="hidden" /> <.selected_publisher publisher_form={@form[:publisher_id]} notify_component={@myself} @@ -66,7 +66,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.FormComponent do /> <.input field={@form[:page_count]} type="number" label="Page count" />
- <.label>Publisher + <.input field={@form[:publisher_id]} type="text" label="Publisher" type="hidden" /> <.selected_publisher publisher_form={@form[:publisher_id]} notify_component={@myself}