Sha256: 88b8668277bc31d64f0b2a6c3ff4fde9a33b1297b5bc1a1a217a034b08657933

Contents?: true

Size: 743 Bytes

Versions: 2

Compression:

Stored size: 743 Bytes

Contents

.form-group
  .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" ng-disabled="!action.query.search[f]": span.glyphicon.glyphicon-off
  span ng-bind="::info.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}}"
/ ng-init="action.record[f] = '0'"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
engine2-1.0.5 views/search_fields/checkbox2.slim
engine2-1.0.4 views/search_fields/checkbox2.slim