diff options
-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 a631fe7..0cc8a3c 100644 --- a/cmd/ponzu/contentType.tmpl +++ b/cmd/ponzu/contentType.tmpl @@ -48,7 +48,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 {{ .Name }}-{{ .Initial }}.ItemID() } +func ({{ .Initial }} *{{ .Name }}) ContentName() string { return fmt.Sprintf("{{ .Name }} - ID: %d", {{ .Initial }}.ItemID()) } // Editor is a buffer of bytes for the Form function to write input views // partially implements editor.Editable |