diff options
Diffstat (limited to 'cmd/ponzu/templates/gen-input-repeater.tmpl')
-rw-r--r-- | cmd/ponzu/templates/gen-input-repeater.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/ponzu/templates/gen-input-repeater.tmpl b/cmd/ponzu/templates/gen-input-repeater.tmpl new file mode 100644 index 0000000..faf77c4 --- /dev/null +++ b/cmd/ponzu/templates/gen-input-repeater.tmpl @@ -0,0 +1,5 @@ +View: editor.InputRepeater("{{ .Name }}", {{ .Initial }}, map[string]string{ + "label": "{{ .Name }}", + "type": "text", + "placeholder": "Enter the {{ .Name }} here", +}),
\ No newline at end of file |