summaryrefslogtreecommitdiff
path: root/cmd/ponzu/templates/gen-textarea.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/ponzu/templates/gen-textarea.tmpl')
-rw-r--r--cmd/ponzu/templates/gen-textarea.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/ponzu/templates/gen-textarea.tmpl b/cmd/ponzu/templates/gen-textarea.tmpl
new file mode 100644
index 0000000..af3dad8
--- /dev/null
+++ b/cmd/ponzu/templates/gen-textarea.tmpl
@@ -0,0 +1,4 @@
+View: editor.Textarea("{{ .Name }}", {{ .Initial }}, map[string]string{
+ "label": "{{ .Name }}",
+ "placeholder": "Enter the {{ .Name }} here",
+}), \ No newline at end of file