Sha256: 03839ec40542999aa0c59c9a90e87aa39956aeedd7058f86ba1ebe028e06c8fe

Contents?: true

Size: 378 Bytes

Versions: 12

Compression:

Stored size: 378 Bytes

Contents

module ForemanSalt
  module SaltKeysHelper
    def salt_keys_state_filter
      select_tag 'Filter', options_for_select(['', _('Accepted'), _('Rejected'), _('Unaccepted')], params[:state]),
        onchange: "window.location.href = location.protocol + '//' + " \
        "location.host + location.pathname + (this.value == '' ? '' : ('?state=' + this.value))"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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