```ruby
class ApplicationHelper::Button::MiqTemplateScan < ApplicationHelper::Button::GenericFeatureButtonWithDisable
  needs :@record

  def visible?
    true
  end

  def disabled?
    return true if super
    @error_message = @record.active_proxy_error_message unless @record.has_active_proxy?
    @error_message.present?
  end
end
```

Fix failing Travis: Correct class hierarchy
user
```ruby
class ApplicationHelper::Button::MiqTemplateScan < ApplicationHelper::Button::VmInstanceTemplateScan
  needs :@record

  def disabled?
    return true if super
    @error_message = @record.active_proxy_error_message unless @record.has_active_proxy?
    @error_message.present?
  end
end
```
assistant