Update the input type to textarea for the description field.
continuous-integration/drone/push Build is passing Details

dev
KKlochko 5 months ago
parent ae0e9d44e1
commit 72875c20d2

@ -21,7 +21,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.FormComponent do
<.input field={@form[:avatar_url]} type="text" label="Cover image url" /> <.input field={@form[:avatar_url]} type="text" label="Cover image url" />
<.input <.input
field={@form[:description]} field={@form[:description]}
type="text" type="textarea"
label="Description" label="Description"
/> />
<.input <.input
@ -35,7 +35,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.FormComponent do
<.input field={@form[:avatar_url]} type="text" label="Cover image url" /> <.input field={@form[:avatar_url]} type="text" label="Cover image url" />
<.input <.input
field={@form[:description]} field={@form[:description]}
type="text" type="textarea"
label="Description" label="Description"
/> />
<.input <.input

@ -22,7 +22,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.FormComponent do
<.input field={@form[:cover_image_url]} type="text" label="Cover image url" /> <.input field={@form[:cover_image_url]} type="text" label="Cover image url" />
<.input <.input
field={@form[:description]} field={@form[:description]}
type="text" type="textarea"
label="Description" label="Description"
/> />
<.bids_inputs form={@form} myself={@myself} /> <.bids_inputs form={@form} myself={@myself} />

Loading…
Cancel
Save