From 1eac34741be0640c639935c6a4c25a5f1406a509 Mon Sep 17 00:00:00 2001 From: jelhan Date: Thu, 23 Oct 2014 20:58:46 +0200 Subject: [PATCH] fix ember-easyForm checkbox bootstrap wrong syntax --- app/templates/form-fields/input.hbs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/templates/form-fields/input.hbs b/app/templates/form-fields/input.hbs index c764a09..93e7484 100644 --- a/app/templates/form-fields/input.hbs +++ b/app/templates/form-fields/input.hbs @@ -2,9 +2,14 @@ {{label-field propertyBinding="view.property" textBinding="view.label"}} {{/unless}}
- {{input-field propertyBinding='view.property' inputOptionsBinding='view.inputOptionsValues'}} + {{#unless view.isCheckbox}} + {{input-field propertyBinding='view.property' inputOptionsBinding='view.inputOptionsValues'}} + {{/unless}} {{#if view.isCheckbox}} - {{label-field propertyBinding="view.property" textBinding="view.label"}} + {{/if}} {{#if view.hint}} {{hint-field propertyBinding="view.property" textBinding="view.hint"}}