diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-29 10:29:26 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-29 10:29:26 -0800 |
commit | b4c23191e24ece14336628d26ec854f82b54219e (patch) | |
tree | 86537d13edd61d8d749da23abc2063c06fa8aaa3 | |
parent | 52ab0d2a007de6357c504302a5bd92c7cca72b79 (diff) |
string verb for format in UniqueID() as default content name
-rw-r--r-- | cmd/ponzu/contentType.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ponzu/contentType.tmpl b/cmd/ponzu/contentType.tmpl index eccd525..df582a0 100644 --- a/cmd/ponzu/contentType.tmpl +++ b/cmd/ponzu/contentType.tmpl @@ -43,7 +43,7 @@ func init() { // ContentName is required to set the display name for a piece of content in the editor // Partially implements editor.Editable -func ({{ .Initial }} *{{ .Name }}) ContentName() string { return fmt.Sprintf("{{ .Name }} - ID: %d", {{ .Initial }}.UniqueID()) } +func ({{ .Initial }} *{{ .Name }}) ContentName() string { return fmt.Sprintf("{{ .Name }} - ID: %s", {{ .Initial }}.UniqueID()) } // Editor is a buffer of bytes for the Form function to write input views // partially implements editor.Editable |