diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-04-01 11:01:42 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-04-01 11:01:42 -0700 |
commit | 3b91d4be44b7e7814494a0a58e6491d4c5983dbe (patch) | |
tree | 88e176ba9019630671eaecf218b365b496337b85 /cmd/ponzu/templates/gen-input.tmpl | |
parent | c78e6d7adec86a7799f9143f021784635f7665a2 (diff) |
adding initial cases to generate input types for field views from command line
Diffstat (limited to 'cmd/ponzu/templates/gen-input.tmpl')
-rw-r--r-- | cmd/ponzu/templates/gen-input.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/ponzu/templates/gen-input.tmpl b/cmd/ponzu/templates/gen-input.tmpl new file mode 100644 index 0000000..8bea12a --- /dev/null +++ b/cmd/ponzu/templates/gen-input.tmpl @@ -0,0 +1,5 @@ +View: editor.Input("{{ .Name }}", {{ .Initial }}, map[string]string{ + "label": "{{ .Name }}", + "type": "text", + "placeholder": "Enter the {{ .Name }} here", +}),
\ No newline at end of file |