Sha256: 3dbda54d12adf3384941272eb7f1504736e7927fed50aa899ceb162291de1915
Contents?: true
Size: 1.07 KB
Versions: 16
Compression:
Stored size: 1.07 KB
Contents
<% @page_title = t('blacklight.saved_searches.page_title', :application_name => application_name) %> <div id="content" class="col-md-9"> <h2 class='page-heading'><%= t('blacklight.saved_searches.title') %></h2> <%- if current_or_guest_user.blank? -%> <h3 class='section-heading'><%= t('blacklight.saved_searches.need_login') %></h3> <%- elsif @searches.blank? -%> <h3 class='section-heading'><%= t('blacklight.saved_searches.no_searches') %></h3> <%- else -%> <p> <%= link_to t('blacklight.saved_searches.clear.action_title'), blacklight.clear_saved_searches_path, :method => :delete, :data => { :confirm => t('blacklight.saved_searches.clear.action_confirm') } %> </p> <h3 class='section-heading'><%= t('blacklight.saved_searches.list_title') %></h3> <table class="table table-striped"> <%- @searches.each do |search| -%> <tr> <td><%= link_to_previous_search(search.query_params) %></td> <td><%= button_to t('blacklight.saved_searches.delete'), blacklight.forget_search_path(search.id) %></td> </tr> <%- end -%> </table> <%- end -%> </div>
Version data entries
16 entries across 16 versions & 1 rubygems