views/search_fields/checkbox2.slim in engine2-1.0.5 vs views/search_fields/checkbox2.slim in engine2-1.0.6
- old
+ new
@@ -2,13 +2,13 @@
.btn-group.btn-group-sm [
ng-model="action.query.search[f]"
bs-buttons-radio=""
ng-change="action.search_field_change(f)"
]
- button.btn.btn-default type="button" value="{{info.render.true_value}}": span.glyphicon.glyphicon-ok
- button.btn.btn-default type="button" value="{{info.render.false_value}}": span.glyphicon.glyphicon-remove
+ button.btn.btn-default type="button" value="{{field.render.true_value}}": span.glyphicon.glyphicon-ok
+ button.btn.btn-default type="button" value="{{field.render.false_value}}": span.glyphicon.glyphicon-remove
button.btn.btn-default type="button" ng-disabled="!action.query.search[f]": span.glyphicon.glyphicon-off
- span ng-bind="::info.loc"
+ span ng-bind="::field.loc"
-/input type="checkbox" id="{{f}}" ng-model="action.query.search[f]" ng-true-value="{{info.render.true_value}}" ng-false-value="{{info.render.false_value}}"
-/ ng-false-value="{{info.render.false_value}}"
+/input type="checkbox" id="{{f}}" ng-model="action.query.search[f]" ng-true-value="{{field.render.true_value}}" ng-false-value="{{field.render.false_value}}"
+/ ng-false-value="{{field.render.false_value}}"
/ ng-init="action.record[f] = '0'"