This commit is contained in:
@@ -18,11 +18,14 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.FormComponent do
|
||||
phx-submit="save"
|
||||
>
|
||||
<%= 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]}
|
||||
type="text"
|
||||
label="Description"
|
||||
/><.input
|
||||
/>
|
||||
<.input
|
||||
field={@form[:author_alias_registry_id]}
|
||||
type="text"
|
||||
label="Author alias registry"
|
||||
|
||||
Reference in New Issue
Block a user