Sha256: 7c444aa66c705500bdc3e7b13c4d39bb1795dd6e9823cede0d6a673b609f0119
Contents?: true
Size: 725 Bytes
Versions: 105
Compression:
Stored size: 725 Bytes
Contents
module Katello module Concerns module HostsAndHostgroupsHelperExtensions extend ActiveSupport::Concern module Overrides def puppet_environment_field(form, environments_choice, select_options = {}, html_options = {}) html_options.merge!( :label => _("Puppet Environment"), 'data-content_puppet_match' => (@host || @hostgroup).new_record? || (@host || @hostgroup).content_and_puppet_match?, :help_inline => link_to(_("Reset Puppet Environment"), '#', :id => 'reset_puppet_environment')) super(form, environments_choice, select_options, html_options) end end included do prepend Overrides end end end end
Version data entries
105 entries across 105 versions & 1 rubygems