Sha256: 8bdddb69786684374061688381043a7dcf0805687aece03c888da211c20d890d
Contents?: true
Size: 1.56 KB
Versions: 33
Compression:
Stored size: 1.56 KB
Contents
<div class="batch-info"> <%= render 'form_for_select_collection', user_collections: @user_collections %> <% if params[:action] == "edit" && show_sort_and_per_page? %> <div class="batch-toggle"> <% session[:batch_edit_state] = "on" %> <%= button_for_remove_selected_from_collection collection %> </div> <% end %> <% if show_sort_and_per_page? && active_sort_fields.many? %> <div class="sort-toggle"> <%= form_tag dashboard_collection_path(collection), method: :get, class: 'per_page form-horizontal' do %> <div class="form-group form-group-lg"> <fieldset class="col-sm-9"> <legend class="sr-only"><%= t('hyrax.sort_label') %></legend> <%= label_tag(:sort, 'Sort By:') %> <%= select_tag(:sort, options_from_collection_for_select(active_sort_fields, 'first', lambda {|field| field.last.label}, h(params[:sort]))) %> <%= label_tag(:per_page) do %> Show <%= select_tag(:per_page, options_for_select(['10', '20', '50', '100'], params[:per_page]), title: t('hyrax.dashboard.my.sr.results_per_page')) %> per page <% end %> <%= render_hash_as_hidden_fields(search_state.params_for_search.except(:per_page, :sort)) %> <button class="btn btn-info"><span class="glyphicon glyphicon-refresh"></span> <%= t('helpers.action.refresh') %></button> </fieldset> <div class="col-sm-3"> <%= render 'view_type_group' %> </div> </div> <% end %> </div> <% end %> </div>
Version data entries
33 entries across 33 versions & 1 rubygems