Select type added for client schema

This commit is contained in:
Mark McDowall 2013-06-13 00:20:33 -07:00
parent 954ac925d0
commit ca334ef664
10 changed files with 76 additions and 5 deletions

View file

@ -22,6 +22,10 @@ define(['app'], function () {
return Handlebars.helpers.partial.apply(field, ['Form/CheckboxTemplate']);
}
if (field.type === 'select') {
return Handlebars.helpers.partial.apply(field, ['Form/SelectTemplate']);
}
return Handlebars.helpers.partial.apply(field, ['Form/TextboxTemplate']);
};
});