9 lines
305 B
Text
9 lines
305 B
Text
<.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[:content]} type="text" label="Content" />
|
|
<:actions>
|
|
<.button>Save Note</.button>
|
|
</:actions>
|
|
</.simple_form>
|