summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-04-08 22:46:46 -0400
committerJules Laplace <jules@okfoc.us>2015-04-08 22:46:46 -0400
commit7db10b2a6cd6cbea246ccd6c77fe6518be76da20 (patch)
tree375bf1045f4365657b59c56468010bde394d42fb /examples
parent959e8f4faed2fc35052bdcba06352f5aa4bf547a (diff)
install.sh
Diffstat (limited to 'examples')
-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"]}
}
},