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