Sha256: f416ae6307708060afa7dc9ecca3109dffa4629bdaba4c517091a0b621f17055
Contents?: true
Size: 795 Bytes
Versions: 31
Compression:
Stored size: 795 Bytes
Contents
module Katello module Concerns module HostsAndHostgroupsHelperExtensions extend ActiveSupport::Concern included do alias_method_chain :puppet_environment_field, :katello end def puppet_environment_field_with_katello(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 to match selected Content View"), '#', :id => 'reset_puppet_environment')) puppet_environment_field_without_katello(form, environments_choice, select_options, html_options) end end end end
Version data entries
31 entries across 31 versions & 1 rubygems