Sha256: 49558619ab1da8232172a3914b9f12763167d0ec30fdeb924ec0a0c9968212cb

Contents?: true

Size: 708 Bytes

Versions: 19

Compression:

Stored size: 708 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_minions_path,
                                   :'data-host-id' => (@host || @hostgroup).id, :help_inline => :indicator} %>"

Deface::Override.new(:virtual_path  => 'hosts/_form',
                     :name          => 'add_salt_environment_to_host',
                     :insert_bottom => 'div#primary',
                     :text          => selector_text)

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
foreman_salt-10.1.0 app/overrides/salt_environment_host_selector.rb
foreman_salt-8.0.4 app/overrides/salt_environment_host_selector.rb
foreman_salt-9.0.1 app/overrides/salt_environment_host_selector.rb
foreman_salt-10.0.0 app/overrides/salt_environment_host_selector.rb
foreman_salt-9.0.0 app/overrides/salt_environment_host_selector.rb
foreman_salt-8.0.3 app/overrides/salt_environment_host_selector.rb
foreman_salt-8.0.2 app/overrides/salt_environment_host_selector.rb
foreman_salt-8.0.1 app/overrides/salt_environment_host_selector.rb
foreman_salt-7.0.3 app/overrides/salt_environment_host_selector.rb
foreman_salt-8.0.0 app/overrides/salt_environment_host_selector.rb
foreman_salt-7.0.2 app/overrides/salt_environment_host_selector.rb
foreman_salt-6.0.1 app/overrides/salt_environment_host_selector.rb
foreman_salt-7.0.1 app/overrides/salt_environment_host_selector.rb
foreman_salt-7.0.0 app/overrides/salt_environment_host_selector.rb
foreman_salt-6.0.0 app/overrides/salt_environment_host_selector.rb
foreman_salt-5.0.1 app/overrides/salt_environment_host_selector.rb
foreman_salt-5.0.0 app/overrides/salt_environment_host_selector.rb
foreman_salt-4.0.1 app/overrides/salt_environment_host_selector.rb
foreman_salt-4.0.0 app/overrides/salt_environment_host_selector.rb