fixed yes/no field
This commit is contained in:
parent
37c9d7f364
commit
6597d37d19
|
@ -151,6 +151,9 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
NODE_ENV: 'production'
|
NODE_ENV: 'production'
|
||||||
|
},
|
||||||
|
default: {
|
||||||
|
NODE_ENV: 'development'
|
||||||
},
|
},
|
||||||
src: '/opt/deploy/.env'
|
src: '/opt/deploy/.env'
|
||||||
},
|
},
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
<div class="col-xs-12 field-input">
|
<div class="col-xs-12 field-input">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
{{field.fieldValue}}
|
||||||
<label class="btn btn-default col-xs-2"
|
<label class="btn btn-default col-xs-2"
|
||||||
style="background: rgba(0,0,0,0.1); text-align:left;">
|
style="background: rgba(0,0,0,0.1); text-align:left;">
|
||||||
<input ng-focus="setActiveField(field._id, index)"
|
<input ng-focus="setActiveField(field._id, index)"
|
||||||
|
@ -26,7 +27,7 @@
|
||||||
Y
|
Y
|
||||||
</div>
|
</div>
|
||||||
<span>Yes</span>
|
<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>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" style="margin-top: 10px;">
|
<div class="row" style="margin-top: 10px;">
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue