Sha256: e5f4ced8e378262d93349125437b88b88c5af71558b9b79f5d25e9bfedf87339
Contents?: true
Size: 368 Bytes
Versions: 5
Compression:
Stored size: 368 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
5 entries across 5 versions & 1 rubygems