Skip to content

Commit

Permalink
fixes #10985 - Add width to puppet ca filter select
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomizadok committed Jul 5, 2015
1 parent 55fd94a commit a644089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/puppetca_helper.rb
@@ -1,7 +1,7 @@
module PuppetcaHelper
def state_filter
states = [N_('revoked'), N_('pending'), N_('valid')]
select_tag "Filter", options_for_select([''] + states.map { |s| [_(s), s] }, params[:state]),
select_tag "Filter", options_for_select([''] + states.map { |s| [_(s), s] }, params[:state]), :style => "min-width: 120px",
:onchange => "window.location.href = '#{smart_proxy_puppetca_index_path(@proxy)}' + (this.value == '' ? '' : ('?state=' + this.value))"
end

Expand Down

0 comments on commit a644089

Please sign in to comment.