16 lines
307 B
Plaintext
16 lines
307 B
Plaintext
# key: simple-form
|
|
# name: simple form
|
|
# --
|
|
<.simple_form>
|
|
:let={f}
|
|
for={@$1}
|
|
id="$2-form"
|
|
phx-change="validate"
|
|
phx-submit="save">
|
|
<.input field={@$1[:$3]} type="$4" label="$5" />
|
|
$0
|
|
<:actions>
|
|
<.button phx-disable-with="$6...">$7</.button>
|
|
</:actions>
|
|
</.simple_form>
|