Sha256: d3c542628f0f43dfd81e9c36680c137e31a1f16d99df01c5d9684ab6846cb966

Contents?: true

Size: 554 Bytes

Versions: 2

Compression:

Stored size: 554 Bytes

Contents

angular.module("hyperadmin")
  .directive "formInputGroup", ->
    template: """
<div class="form-group has-feedback"
  ng-class="{ 'field_with_errors': !!errors }">
  <label class="col-sm-2 control-label" for="{{ attr }}">
    {{ human }}
  </label>

  <form-input attr="attr" human="human"
    resource="resource" errors="errors"
    type="type">
  </form-input>
</div>
    """
    restrict: "E"
    scope:
      resource: "=resource"
      attribute: "=attribute"
      attr: "=attr"
      errors: "=errors"
      human: "=human"
      type: "=type"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyper_admin-0.4.0 app/assets/javascripts/hyper_admin/angularjs/directives/form/form_input_group.js.coffee
hyper_admin-0.3.0 app/assets/javascripts/hyper_admin/angularjs/directives/form/form_input_group.js.coffee