summaryrefslogtreecommitdiff
path: root/management/editor/editor.go
diff options
context:
space:
mode:
Diffstat (limited to 'management/editor/editor.go')
-rw-r--r--management/editor/editor.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/management/editor/editor.go b/management/editor/editor.go
index f8b1970..486c22f 100644
--- a/management/editor/editor.go
+++ b/management/editor/editor.go
@@ -87,9 +87,17 @@ func addFieldToEditorView(e *Editor, f Field) {
func addPostDefaultFieldsToEditorView(p Editable, e *Editor) {
defaults := []Field{
Field{
- View: Input("Timestamp", p, map[string]string{
+ View: Input("Date", p, map[string]string{
"label": "Publish Date",
"type": "date",
+ "class": "date __ponzu",
+ }),
+ },
+ Field{
+ View: Input("Time", p, map[string]string{
+ "label": "Publish Time",
+ "type": "time",
+ "class": "time __ponzu",
}),
},
Field{