Skip to content

Commit

Permalink
Set formnovalidate on "create host aggregate" form's cancel button
Browse files Browse the repository at this point in the history
  • Loading branch information
mansam committed Oct 16, 2017
1 parent bdef0ac commit 61483b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/host_aggregate/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@
"ng-disabled" => "angularForm.$pristine",
"ng-class" => "{ disabled: angularForm.$pristine}")
= button_tag(_("Cancel"),
:class => "btn btn-default",
"ng-click" => "cancelClicked()")
:class => "btn btn-default",
:formnovalidate => 'true',
"ng-click" => "cancelClicked()")
:javascript
ManageIQ.angular.app.value('hostAggregateFormId', '#{@host_aggregate.id || "new"}');
Expand Down

0 comments on commit 61483b4

Please sign in to comment.