Use textarea for description
This commit is contained in:
@@ -38,6 +38,7 @@ defmodule MusicLibraryWeb.CoreComponents do
|
||||
defdelegate tabs(assigns), to: Fluxon.Components.Tabs
|
||||
defdelegate tabs_list(assigns), to: Fluxon.Components.Tabs
|
||||
defdelegate tabs_panel(assigns), to: Fluxon.Components.Tabs
|
||||
defdelegate textarea(assigns), to: Fluxon.Components.Textarea
|
||||
|
||||
@doc """
|
||||
Renders a simple form.
|
||||
|
||||
@@ -52,9 +52,8 @@ defmodule MusicLibraryWeb.ScrobbleRulesLive.FormComponent do
|
||||
class="font-mono"
|
||||
/>
|
||||
|
||||
<.input
|
||||
<.textarea
|
||||
field={@form[:description]}
|
||||
type="textarea"
|
||||
label={gettext("Description (optional)")}
|
||||
placeholder={gettext("Add a description to help identify this rule")}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user