Sha256: 96ca6bb37a6876266b0331803eba5c1550e5c9171aa12062367190e4d2ec7ccf

Contents?: true

Size: 1.39 KB

Versions: 38

Compression:

Stored size: 1.39 KB

Contents

<%= page_title(t('.page_title')) %>
<%= bootstrap_form_for @site, url: spotlight.site_path, layout: :horizontal, label_col: 'col-md-2', control_col: 'col-md-10' do |f| %>
  <p class="instructions"><%= t :'.instructions' %></p>
  <table class="table table-striped dd-table">
    <thead>
      <tr>
        <th><%= Spotlight::Exhibit.human_attribute_name(:title) %></th>
        <th class="text-right"><%= Spotlight::Exhibit.human_attribute_name(:published)  %></th>
        <th class="text-right"><%= Spotlight::Exhibit.human_attribute_name(:requested_by) %></th>
        <th class="text-right"><%= Spotlight::Exhibit.human_attribute_name(:created_at)  %></th>
        <th class="text-right"><%= Spotlight::Exhibit.human_attribute_name(:updated_at)  %></th>
      </tr>
    </thead>
    <tbody class="table metadata_fields dd dd-list" data-behavior="nestable" data-max-depth="1" data-list-node-name="tbody" data-item-node-name="tr" data-expand-btn-HTML=" " data-collapse-btn-HTML=" ">
      <%= f.fields_for :exhibits do |exhibit_form| %>
        <%= render partial: 'exhibit', locals: { f: exhibit_form } %>
      <% end %>
    </tbody>
  </table>

  <div class="form-actions">
    <div class="primary-actions">
      <%= f.submit nil, class: 'btn btn-primary' %>
    </div>
  </div>
<% end %>

<% content_for(:sidebar_position) { 'order-last' } %>
<% content_for(:sidebar) do %>
  <%= render 'shared/site_sidebar' %>
<% end %>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
blacklight-spotlight-3.6.0.beta10 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.6.0.beta9 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.6.0.beta8 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.5.0.4 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.6.0.beta7 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.5.0.3 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.6.0.beta6 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.6.0.beta5 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.6.0.beta4 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.6.0.beta3 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.6.0.beta1 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.5.0.2 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.5.0.1 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.5.0 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.4.4.1 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.4.4 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.4.3 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.4.2.2 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.4.2.1 app/views/spotlight/sites/edit_exhibits.html.erb
blacklight-spotlight-3.4.2 app/views/spotlight/sites/edit_exhibits.html.erb