summaryrefslogtreecommitdiff
path: root/cmd/ponzu/templates/gen-select.tmpl
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2017-04-02 11:16:27 -0700
committerGitHub <noreply@github.com>2017-04-02 11:16:27 -0700
commitfe5367c2d1454e2ff6b330a8e80d4daa853f2c71 (patch)
tree9f7427f99feb6b9e335b0a59740d570beb2235ce /cmd/ponzu/templates/gen-select.tmpl
parentc78e6d7adec86a7799f9143f021784635f7665a2 (diff)
parent302ee60bff54045507708868637908ec63564df5 (diff)
Merge pull request #107 from ponzu-cms/ponzu-dev
[cli] add input type specifier to generate content command
Diffstat (limited to 'cmd/ponzu/templates/gen-select.tmpl')
-rw-r--r--cmd/ponzu/templates/gen-select.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/ponzu/templates/gen-select.tmpl b/cmd/ponzu/templates/gen-select.tmpl
new file mode 100644
index 0000000..509eb30
--- /dev/null
+++ b/cmd/ponzu/templates/gen-select.tmpl
@@ -0,0 +1,5 @@
+View: editor.Select("{{ .Name }}", {{ .Initial }}, map[string]string{
+ "label": "{{ .Name }}",
+}, map[string]string{
+ // "value": "Display Name",
+}), \ No newline at end of file