Module: ForemanSalt::SaltKeysHelper
- Defined in:
- app/helpers/foreman_salt/salt_keys_helper.rb
Instance Method Summary collapse
Instance Method Details
#salt_keys_state_filter ⇒ Object
3 4 5 6 7 |
# File 'app/helpers/foreman_salt/salt_keys_helper.rb', line 3 def salt_keys_state_filter select_tag 'Filter', (['', _('Accepted'), _('Rejected'), _('Unaccepted')], params[:state]), onchange: "window.location.href = location.protocol + '//' + " \ "location.host + location.pathname + (this.value == '' ? '' : ('?state=' + this.value))" end |