ManageIQ/manageiq-ui-classic

View on GitHub
app/helpers/application_helper/button/miq_ae_domain_delete.rb

Summary

Maintainability
A
0 mins
Test Coverage
D
60%
class ApplicationHelper::Button::MiqAeDomainDelete < ApplicationHelper::Button::MiqAeDomainEdit
  needs :@record

  def disabled?
    @error_message = _('Read Only Domain cannot be deleted.') if super
    @error_message.present?
  end
end