.clearfix
.pull-right.button-group{"ng-controller" => "buttonGroupController"}
  %miq-button{:name      => button_label,
              :title     => button_label,
              :alt       => button_label,
              :enabled   => "saveable(angularForm)",
              'on-click' => button_click,
              :primary   => 'true'}
  %miq-button{:name      => t = _("Reset"),
              :title     => t,
              :alt       => t,
              :enabled   => '!angularForm.$pristine',
              'ng-show'  => '!newRecord',
              'on-click' => "resetClicked()"}
  %miq-button{:name      => t = _("Cancel"),
              :title     => t,
              :alt       => t,
              'on-click' => "cancelClicked($event)"}

.clearfix
.pull-right.button-group{"ng-controller" => "buttonGroupController"}
  %miq-button{:name      => button_label,
              :title     => button_label,
              :alt       => button_label,
              :enabled   => "saveable(angularForm)",
              'on-click' => button_click,
              :primary   => 'true'}
  %miq-button{:name      => t = _("Reset"),
              :title     => t,
              :alt       => t,
              :enabled   => '!angularForm.$pristine',
              'ng-show'  => '!newRecord',
              'on-click' => "resetClicked()"}
  %miq-button{:name      => t = _("Cancel"),
              :title     => t,
              :alt       => t,
              :enabled   => 'true',
              'on-click' => "cancelClicked($event)"}

Enable the cancel button on the custom form button partial
Enable the cancel button on the custom form button partial

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1440115
as well as other latent bugs on forms using the same partial
where the cancel button was always disabled.
