Sha256: e6202245cefd53ffd66caf377a7b4a8191733f2e893c3ab6951b04730dd52d10

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

<%= f.fields_for "home_page" do |p| %>
  <% page = p.object %>
  <div class="home_page">
    <h3><%= t('spotlight.pages.index.feature_pages.home_pages_header') %></h3>
    <div class="card container">
      <div class="card-body bg-light page main row">
        <div class="col-sm-8">
          <%= p.hidden_field :id, value: page.id , class: 'form-control form-control-sm' %>
          <h3 class="h6 card-title" data-in-place-edit-target=".edit-in-place" data-in-place-edit-field-target="[data-edit-field-target='true']">
            <a href="#edit-in-place" class="field-label edit-in-place"><%= page.title %></a>
            <%= p.hidden_field :title, value: page.title , class: 'form-control form-control-sm title-field', data: {:"edit-field-target" => 'true'} %>
          </h3>
        </div>
        <div class="col-sm-4 page-links">
          <%= exhibit_view_link page, exhibit_root_path(page.exhibit), class: 'btn btn-link' %> &middot;
          <%= exhibit_edit_link page, edit_exhibit_home_page_path(page.exhibit), class: 'btn btn-link', data: { turbolinks: false } %>
        </div>
      </div>
    </div>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.2 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-3.0.0.alpha.1 app/views/spotlight/feature_pages/_header.html.erb