copy snippets from mac
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# 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>
|
||||
Reference in New Issue
Block a user