Sha256: 9187f38cc321adf1c0f8e1a0c8724b5a0de45e303f622228319f992e5f28a7de
Contents?: true
Size: 1.46 KB
Versions: 17
Compression:
Stored size: 1.46 KB
Contents
<%= render 'spotlight/shared/exhibit_sidebar' %> <div id="content" class="col-md-9"> <%= curation_page_title %> <h3><%= header_with_count(t(:'.categories_header'), @searches.count) %></h3> <% 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="pull-right"> <%= submit_tag t(:'helpers.action.update_all'), class: "btn btn-primary" %> </div> <% end %> <% end %> </div>
Version data entries
17 entries across 17 versions & 1 rubygems