diff options
Diffstat (limited to 'management/editor/editor.go')
-rw-r--r-- | management/editor/editor.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/management/editor/editor.go b/management/editor/editor.go index eff3274..2c51d5d 100644 --- a/management/editor/editor.go +++ b/management/editor/editor.go @@ -146,6 +146,18 @@ func addPostDefaultFieldsToEditorView(p Editable, e *Editor) { "placeholder": "Will be set automatically", }), }, + Field{ + View: Input("Timestamp", p, map[string]string{ + "type": "hidden", + "class": "timestamp __ponzu", + }), + }, + Field{ + View: Input("Updated", p, map[string]string{ + "type": "hidden", + "class": "updated __ponzu", + }), + }, } for _, f := range defaults { |