summaryrefslogtreecommitdiff
path: root/examples/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/index.js')
-rw-r--r--examples/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/index.js b/examples/index.js
index 669715d..8846e3a 100644
--- a/examples/index.js
+++ b/examples/index.js
@@ -13,7 +13,8 @@ var app = okcms.createApp({
bread: {
type: {type: 'string', id: true},
title: {type: 'string'},
- description: {type: 'text'}
+ description: {type: 'text'},
+ color: {type: 'enum', fields: ["red","blue","green"]}
}
},