Sha256: f5f33cfdc3771f5b78fd99aedd5b9fa93dbea6bb2f28ba8c9480c96727d433e0

Contents?: true

Size: 672 Bytes

Versions: 12

Compression:

Stored size: 672 Bytes

Contents

selector_text = "<%= select_f f, :salt_environment_id, ForemanSalt::SaltEnvironment.all, :id, :name,
                                 { :include_blank => blank_or_inherit_f(f, :salt_environment) },
                                 { :label => _('Salt Environment'), :onchange => 'update_salt_states(this)',
                                   :'data-url' => salt_environment_selected_hostgroups_path,
                                   :'data-host-id' => (@host || @hostgroup).id, :help_inline => :indicator} %>"

Deface::Override.new(
  virtual_path: 'hostgroups/_form',
  name: 'add_salt_environment_to_hostgroup',
  insert_bottom: 'div#primary',
  text: selector_text
)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foreman_salt-17.0.0 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-16.0.3 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-16.0.2 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-16.0.1 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-16.0.0 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-15.2.3 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-15.2.2 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-15.2.1 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-15.2.0 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-15.1.0 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-15.0.0 app/overrides/salt_environment_hostgroup_selector.rb
foreman_salt-14.1.0 app/overrides/salt_environment_hostgroup_selector.rb