diff options
author | Steve <nilslice@gmail.com> | 2017-04-02 11:16:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-02 11:16:27 -0700 |
commit | fe5367c2d1454e2ff6b330a8e80d4daa853f2c71 (patch) | |
tree | 9f7427f99feb6b9e335b0a59740d570beb2235ce /cmd/ponzu/templates/gen-textarea.tmpl | |
parent | c78e6d7adec86a7799f9143f021784635f7665a2 (diff) | |
parent | 302ee60bff54045507708868637908ec63564df5 (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-textarea.tmpl')
-rw-r--r-- | cmd/ponzu/templates/gen-textarea.tmpl | 4 |
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 |