From cb43c27c6ffb1a3edb822df37e646f89a081cdd1 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 4 Nov 2015 10:55:12 -0700 Subject: [PATCH] Fixed up checkbox input --- app/pods/protected/species/species-form/component.js | 1 - app/pods/protected/species/species-form/template.hbs | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/pods/protected/species/species-form/component.js b/app/pods/protected/species/species-form/component.js index 5b73342..dc1b605 100644 --- a/app/pods/protected/species/species-form/component.js +++ b/app/pods/protected/species/species-form/component.js @@ -45,7 +45,6 @@ export default Component.extend({ typeSpeciesDidChange: function() { this.toggleProperty('typeSpecies'); - console.log(this.get('typeSpecies')); }, }, }); diff --git a/app/pods/protected/species/species-form/template.hbs b/app/pods/protected/species/species-form/template.hbs index 0813123..df9089a 100644 --- a/app/pods/protected/species/species-form/template.hbs +++ b/app/pods/protected/species/species-form/template.hbs @@ -8,7 +8,8 @@
- {{one-way-input type="checkbox" value=typeSpecies update=(action "typeSpeciesDidChange")}} {{if typeSpecies 'Yes' 'No'}} + + {{if typeSpecies 'Yes' 'No'}}
{{#unless species.isNew}}