Sha256: 1d09ae8dcc34a2d2778ea0eef2b678cf4b68c243852f2c4b35702a680d896f49
Contents?: true
Size: 1.69 KB
Versions: 4
Compression:
Stored size: 1.69 KB
Contents
<div class="batch-info"> <div> <%= render partial: 'collections/form_for_select_collection', locals: {user_collections: @user_collections} %> </div> <% if on_my_files? %> <div class="batch-toggle"> <% session[:batch_edit_state] = "on" %> <div class="button_to-inline"> <%= batch_edit_continue "Edit Selected" %> </div> <%= batch_delete %> <%= button_tag "Add to Collection", class: 'btn btn-primary submits-batches submits-batches-add', data: { toggle: "modal", target: "#collection-list-container" } %> </div> <% end %> <div class="sort-toggle"> <% unless @response.response['numFound'] < 2 %> <%= form_tag search_action_for_dashboard, method: :get, class: 'per_page form-inline' do %> <fieldset class="col-xs-12"> <legend class="sr-only"><%= t('sufia.sort_label') %></legend> <%= label_tag(:sort, "<span>Sort By:</span>".html_safe) %> <%= select_tag(:sort, options_for_select(sort_fields, h(params[:sort]))) %> <%= label_tag :per_page do %> Show <%= select_tag :per_page, options_for_select(['10', '20', '50', '100'], h(params[:per_page])), title: "Number of results to display per page" %> per page <% end %> <%= render_hash_as_hidden_fields(params_for_search.except(:per_page, :sort, :utf8)) %> <button class="btn btn-info" id="dashboard_sort_submit"><span class="glyphicon glyphicon-refresh"></span> Refresh </button> </fieldset> <% end %> <% end unless sort_fields.empty? %> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems