summaryrefslogtreecommitdiff
path: root/examples/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-04-21 18:02:31 -0400
committerJules Laplace <jules@okfoc.us>2016-04-21 18:02:31 -0400
commitf76ec56f3d70da6359905e9b9666f581599edd4f (patch)
tree46111a091e729b942decac816b6640b601be2918 /examples/index.js
parent1d5c1c1525dbefd7891acbdf7492ee9e62e24e16 (diff)
fix issue with single input fields, store image width/heightv0.1.34
Diffstat (limited to 'examples/index.js')
-rw-r--r--examples/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/index.js b/examples/index.js
index efbfc38..341a50b 100644
--- a/examples/index.js
+++ b/examples/index.js
@@ -29,6 +29,11 @@ var app = okcms.createApp({
title: {type: 'string'},
flagged: {type: 'flag'},
media: {type: 'media-list'},
+ },
+ flour: {
+ id: {type: 'string', hidden: true},
+ title: {type: 'string'},
+ image: {type: 'image'},
}
},
@@ -37,6 +42,7 @@ var app = okcms.createApp({
{ type: 'page', static: {id: 'contact'}},
{ type: 'bread' },
{ type: 'test' },
+ { type: 'flour' },
],
services: {