diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ponzu/contentType.tmpl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/ponzu/contentType.tmpl b/cmd/ponzu/contentType.tmpl index df582a0..af60e57 100644 --- a/cmd/ponzu/contentType.tmpl +++ b/cmd/ponzu/contentType.tmpl @@ -41,10 +41,6 @@ func init() { Types["{{ .Name }}"] = func() interface{} { return new({{ .Name }}) } } -// 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: %s", {{ .Initial }}.UniqueID()) } - // Editor is a buffer of bytes for the Form function to write input views // partially implements editor.Editable func ({{ .Initial }} *{{ .Name }}) Editor() *editor.Editor { return &{{ .Initial }}.editor } |