<%= t('blacklight.saved_searches.title') %>
<%- if current_or_guest_user.blank? -%>
<%= t('blacklight.saved_searches.need_login') %>
<%- elsif @searches.blank? -%>
<%= t('blacklight.saved_searches.no_searches') %>
<%- else -%>
<%= link_to t('blacklight.saved_searches.clear.action_title'), clear_saved_searches_path, :method => :delete, :data => { :confirm => t('blacklight.saved_searches.clear.action_confirm') } %>
<%= t('blacklight.saved_searches.list_title') %>
<%- @searches.each do |search| -%>
<%= link_to_previous_search(search.query_params) %> |
<%= button_to t('blacklight.saved_searches.delete'), forget_search_path(search.id) %> |
<%- end -%>
<%- end -%>