Sha256: ee1b1493350b836a3aa48cfd298092606c35b43bea0782fb1bce6c6a100b0bf6
Contents?: true
Size: 688 Bytes
Versions: 85
Compression:
Stored size: 688 Bytes
Contents
<%= form_tag url_for, method: :get, class: 'per-page-select-form' do |f| %> <% search_filter_params.reject { |k, _| k == 'page' || k == 'per_page' }.each do |key, value| %> <% if value.is_a? Hash %> <% value.each do |k, v| %> <%= hidden_field_tag "#{key}[#{k}]", v, id: nil %> <% end %> <% else %> <%= hidden_field_tag key, value, id: nil %> <% end %> <% end %> <label> <%= Alchemy.t(:items_per_page, model_name: resource_model.model_name.human(count: 2)) %> <%= select_tag :per_page, options_for_select( items_per_page_options, items_per_page ), onchange: 'this.form.submit()' %> </label> <% end %>
Version data entries
85 entries across 85 versions & 1 rubygems