fixed yes/no field

This commit is contained in:
David Baldwynn 2016-04-16 15:40:25 -04:00
parent 37c9d7f364
commit 6597d37d19
3 changed files with 6 additions and 2 deletions

View file

@ -151,6 +151,9 @@ module.exports = function(grunt) {
},
production: {
NODE_ENV: 'production'
},
default: {
NODE_ENV: 'development'
},
src: '/opt/deploy/.env'
},

View file

@ -13,6 +13,7 @@
<div class="col-xs-12 field-input">
<div class="row">
{{field.fieldValue}}
<label class="btn btn-default col-xs-2"
style="background: rgba(0,0,0,0.1); text-align:left;">
<input ng-focus="setActiveField(field._id, index)"
@ -26,7 +27,7 @@
Y
</div>
<span>Yes</span>
<i ng-show="field.fieldValue == true" class="fa fa-check" aria-hidden="true"></i>
<i ng-show="field.fieldValue = true" class="fa fa-check" aria-hidden="true"></i>
</label>
</div>
<div class="row" style="margin-top: 10px;">

File diff suppressed because one or more lines are too long