2023-03-09 21:42:54 +01:00
|
|
|
<.simple_form :let={f} for={@changeset} action={@action}>
|
|
|
|
<.error :if={@changeset.action}>
|
|
|
|
Oops, something went wrong! Please check the errors below.
|
|
|
|
</.error>
|
|
|
|
<.input field={f[:name]} type="text" label="Name" />
|
|
|
|
<.input field={f[:rel]} type="text" label="Rel" />
|
|
|
|
<.input field={f[:url]} type="text" label="Url" />
|
|
|
|
<.input field={f[:public]} type="checkbox" label="Public" />
|
|
|
|
<.input field={f[:active]} type="checkbox" label="Active" />
|
2023-03-14 22:57:40 +01:00
|
|
|
<.input field={f[:icon]} type="textarea" label="Icon" />
|
2023-03-09 21:42:54 +01:00
|
|
|
<:actions>
|
|
|
|
<.button>Save Identity</.button>
|
|
|
|
</:actions>
|
|
|
|
</.simple_form>
|