app/helpers/application_helper/button/rbac_user_delete.rb
class ApplicationHelper::Button::RbacUserDelete < ApplicationHelper::Button::Basic
needs :@record
def disabled?
@error_message = _('Default Administrator can not be deleted') if @record.userid == 'admin'
@error_message.present?
end
end