Sha256: 3f8de9b23a54639e4b4d1326d28a3cb04b25215e945ec0b038a38d02196b62b3
Contents?: true
Size: 953 Bytes
Versions: 44
Compression:
Stored size: 953 Bytes
Contents
<div id="sortAndPerPage"> <% unless @response.response['numFound'] < 2 %> <%= form_tag catalog_index_path, :method=>:get, :class=>'per_page' do %> <%= label_tag(:per_page, "Show") %> <%= select_tag(:per_page, options_for_select(['10', '20', '50', '100'], h(params[:per_page])), :title => "Number of results to display per page", :onchange => 'this.form.submit()') %> per page <%= search_as_hidden_fields(:omit_keys => [:page, :per_page]) %> <noscript><%= submit_tag 'update' %></noscript> <% end %> <%= form_tag catalog_index_path, :method=>:get, :class=>'sort', :id => "sort_form" do %> <%= label_tag 'sort', 'Sort by' %> <%= select_tag(:sort, options_for_select(sort_fields, h(params[:sort])), :onchange => 'this.form.submit()') %> <%= search_as_hidden_fields(:omit_keys => [:page, :sort]) %> <noscript><%= submit_tag 'sort results' %></noscript> <% end %> <% end %> </div>
Version data entries
44 entries across 44 versions & 2 rubygems