Sha256: 45b527cb04190189c29363df8a58ba0bf7b42fb3a200531638080a8ae5f61f70

Contents?: true

Size: 411 Bytes

Versions: 2

Compression:

Stored size: 411 Bytes

Contents

angular.module("hyperadmin")
  .directive "formActions", ->
    template: """
<div class="form-group">
  <div class="col-sm-offset-2 col-sm-10">
    <button type="submit" class="btn btn-primary" ng-disabled="form.$invalid">
      Submit
    </button>
    <a class="btn btn-danger" ui-sref="^">Cancel</a>
  </div>
</div>
    """
    restrict: "E"
    scope:
      cancelState: "=cancelState"
      form: "=form"

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_actions.js.coffee
hyper_admin-0.3.0 app/assets/javascripts/hyper_admin/angularjs/directives/form/form_actions.js.coffee