summaryrefslogtreecommitdiff
path: root/content/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'content/post.go')
-rw-r--r--content/post.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/content/post.go b/content/post.go
index 7dc99c1..08b831d 100644
--- a/content/post.go
+++ b/content/post.go
@@ -68,12 +68,8 @@ func (p *Post) MarshalEditor() ([]byte, error) {
}),
},
editor.Field{
- View: editor.Checkbox("Category", p, map[string]string{
- "label": "Post Category",
- }, map[string]string{
- "important": "Important",
- "active": "Active",
- "unplanned": "Unplanned",
+ View: editor.Tags("Category", p, map[string]string{
+ "label": "Post Categories",
}),
},
editor.Field{