Sha256: 66e0ce3aefa72c9d0b7cd8944aa62355d0671a30f640159d0cce56fadbbecf5d

Contents?: true

Size: 1.37 KB

Versions: 10

Compression:

Stored size: 1.37 KB

Contents

<% content_for(:sidebar) do %>
  <%= render 'spotlight/shared/exhibit_sidebar' %>
<% end %>

<%= curation_page_title %>
<h2><%= t(:'.categories_header') %></h2>

<% if @searches.empty? %>
  <%= t :'.no_saved_searches' %>
  <% unless @exhibit.searchable? %>
    <p class="instructions alert-warning">
      <%= t(:'.not_searchable_html', href: link_to(t(:'spotlight.configuration.sidebar.search_configuration'), spotlight.edit_exhibit_search_configuration_path(@exhibit))) %>
    </p>
  <% end %>
<% else %>
  <p class="instructions"><%= t(:'.instructions') %></p>
  <% unless @exhibit.searchable? %>
    <p class="instructions alert-warning">
      <%= t(:'.not_searchable_html', href: link_to(t(:'spotlight.configuration.sidebar.search_configuration'), spotlight.edit_exhibit_search_configuration_path(@exhibit))) %>
    </p>
  <% end %>
  <%= bootstrap_form_for @exhibit, url: update_all_exhibit_searches_path(@exhibit), layout: :horizontal, control_col: 'col-sm-10' do |f| %>

    <div class="panel-group dd search_admin" id="nested-pages" data-behavior="nestable" data-max-depth="1">
      <ol class="dd-list">
        <%= f.fields_for :searches do |p| %>
          <%= render partial: 'search', locals: { f: p} %>
        <% end %>
      </ol>
    </div>

    <div class="float-right">
      <%= submit_tag t(:'helpers.action.update_all'), class: "btn btn-primary" %>
    </div>
  <% end %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.rc2 app/views/spotlight/searches/index.html.erb
blacklight-spotlight-3.0.0.rc1 app/views/spotlight/searches/index.html.erb
blacklight-spotlight-3.0.0.alpha.10 app/views/spotlight/searches/index.html.erb
blacklight-spotlight-3.0.0.alpha.9 app/views/spotlight/searches/index.html.erb
blacklight-spotlight-3.0.0.alpha.8 app/views/spotlight/searches/index.html.erb
blacklight-spotlight-3.0.0.alpha.7 app/views/spotlight/searches/index.html.erb
blacklight-spotlight-3.0.0.alpha.6 app/views/spotlight/searches/index.html.erb
blacklight-spotlight-3.0.0.alpha.5 app/views/spotlight/searches/index.html.erb
blacklight-spotlight-3.0.0.alpha.4 app/views/spotlight/searches/index.html.erb
blacklight-spotlight-3.0.0.alpha.3 app/views/spotlight/searches/index.html.erb