This commit is contained in:
@@ -18,11 +18,14 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.FormComponent do
|
|||||||
phx-submit="save"
|
phx-submit="save"
|
||||||
>
|
>
|
||||||
<%= if @form.source.type == :create do %>
|
<%= if @form.source.type == :create do %>
|
||||||
<.input field={@form[:name]} type="text" label="Name" /><.input
|
<.input field={@form[:name]} type="text" label="Name" />
|
||||||
|
<.input field={@form[:avatar_url]} type="text" label="Cover image url" />
|
||||||
|
<.input
|
||||||
field={@form[:description]}
|
field={@form[:description]}
|
||||||
type="text"
|
type="text"
|
||||||
label="Description"
|
label="Description"
|
||||||
/><.input
|
/>
|
||||||
|
<.input
|
||||||
field={@form[:author_alias_registry_id]}
|
field={@form[:author_alias_registry_id]}
|
||||||
type="text"
|
type="text"
|
||||||
label="Author alias registry"
|
label="Author alias registry"
|
||||||
|
|||||||
Reference in New Issue
Block a user