Skip to content

Commit

Permalink
Merge pull request #2416 from mansam/hostaggregate-cancel-novalidate
Browse files Browse the repository at this point in the history
Set formnovalidate on "create host aggregate" form's cancel button
  • Loading branch information
mzazrivec authored Oct 17, 2017
2 parents 258f7d4 + 61483b4 commit 0b2cfce
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 0b2cfce

Please sign in to comment.