From 53d4ed50dc288f3115255c11753561e0be4184c6 Mon Sep 17 00:00:00 2001 From: jelhan Date: Fri, 1 Nov 2013 00:56:51 +0100 Subject: [PATCH] option to restrict answers on a defined list of possibilities --- index.html | 25 +++++++++++++++++++++---- js/croodle.js | 14 +++++++++++++- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index f2341c5..7a74e0e 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - pure + Croodle @@ -35,7 +35,18 @@ {{#data.options}} - + + {{#data.answers.0}} + + {{/data.answers.0}} + {{^data.answers}} + + {{/data.answers}} + {{/data.options}} @@ -55,9 +66,15 @@