copy snippets from mac

This commit is contained in:
Willem van den Ende
2025-10-10 10:21:45 +01:00
parent 934d5ecd36
commit 2bd933dced
19 changed files with 417 additions and 0 deletions
+15
View File
@@ -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>