Sha256: bdcf488ba38c1f4e2c5677e83ddf2057374d147239c5ebe91ab478d0b6d031fd

Contents?: true

Size: 1.78 KB

Versions: 44

Compression:

Stored size: 1.78 KB

Contents

<%= render 'spotlight/shared/exhibit_sidebar' %>
<div id="content" class="col-md-9 exhibit-admin">
  <%= configuration_page_title %>
  <div role="tabpanel">
    <ul class="nav nav-tabs" role="tablist">
      <li role="presentation" class="active">
        <a href="#basic" aria-controls="basic" role="tab" data-toggle="tab"><%= t(:'.basic_settings.heading') %></a>
      </li>
      <% if can? :edit, current_exhibit.filters.first_or_initialize %>
        <li role="presentation">
          <a href="#filter" aria-controls="filter" role="tab" data-toggle="tab"><%= t(:'spotlight.exhibits.filter.heading') %></a>
        </li>
      <% end %>
      <% if can? :import, current_exhibit %>
        <li role="presentation">
          <a href="#import" aria-controls="import" role="tab" data-toggle="tab"><%= t(:'spotlight.exhibits.import.heading') %></a>
        </li>
      <% end %>
      <% if can? :export, current_exhibit %>
        <li role="presentation">
          <a href="#export" aria-controls="export" role="tab" data-toggle="tab"><%= t(:'spotlight.exhibits.export.heading') %></a>
        </li>
      <% end %>
      <% if can? :destroy, current_exhibit %>
        <li role="presentation">
          <a href="#delete" aria-controls="delete" role="tab" data-toggle="tab"><%= t(:'spotlight.exhibits.delete.heading') %></a>
        </li>
      <% end %>
    </ul>
    <div class="tab-content">
      <div role="tabpanel" class="tab-pane active" id="basic">
        <%= render 'form' %>
      </div>
      <%= render 'spotlight/filters/form' if can? :edit, current_exhibit.filters.first_or_initialize %>
      <%= render 'import' if can? :import, current_exhibit %>
      <%= render 'export' if can? :export, current_exhibit %>
      <%= render 'delete' if can? :destroy, current_exhibit %>
    </div>
  </div>
</div>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
blacklight-spotlight-1.5.1 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-1.4.1 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-1.4.0 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-1.3.0 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-1.2.0 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-1.1.0 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-1.0.0 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-1.0.0.alpha2 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-1.0.0.alpha1 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.34.1 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.34.0 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.33.3 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.33.2 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.33.1 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.33.0 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.32.0 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.31.0 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.30.0 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.29.1 app/views/spotlight/exhibits/edit.html.erb
blacklight-spotlight-0.29.0 app/views/spotlight/exhibits/edit.html.erb