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