diff --git a/lib/decentralised_book_index_web/live/author_live/form_component.ex b/lib/decentralised_book_index_web/live/author_live/form_component.ex index b1fc310..5658ec0 100644 --- a/lib/decentralised_book_index_web/live/author_live/form_component.ex +++ b/lib/decentralised_book_index_web/live/author_live/form_component.ex @@ -21,7 +21,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.FormComponent do <.input field={@form[:avatar_url]} type="text" label="Cover image url" /> <.input field={@form[:description]} - type="text" + type="textarea" label="Description" /> <.input @@ -35,7 +35,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.FormComponent do <.input field={@form[:avatar_url]} type="text" label="Cover image url" /> <.input field={@form[:description]} - type="text" + type="textarea" label="Description" /> <.input 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 53f2e8b..e6e1245 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 @@ -22,7 +22,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.FormComponent do <.input field={@form[:cover_image_url]} type="text" label="Cover image url" /> <.input field={@form[:description]} - type="text" + type="textarea" label="Description" /> <.bids_inputs form={@form} myself={@myself} />