Sha256: 8e68bd9d78cfff2390ee374fa64da1f6c664eb16fdb4d83e7cc1b7bfab38c604

Contents?: true

Size: 1.08 KB

Versions: 57

Compression:

Stored size: 1.08 KB

Contents

<%= f.fields_for "home_page" do |p| %>
  <% page = p.object %>
  <div class="home_page">
    <h2><%= t('spotlight.pages.index.feature_pages.home_pages_header') %></h2>
    <div class="card d-flex">
      <div class="card-body d-flex bg-light page main">
        <div class="flex-grow-1 align-self-center">
          <%= 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="page-links">
          <%= exhibit_view_link page, exhibit_root_path(page.exhibit) %> &middot;
          <%= exhibit_edit_link page, edit_exhibit_home_page_path(page.exhibit), data: { turbolinks: false } %>
        </div>
      </div>
    </div>
  </div>
<% end %>

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
blacklight-spotlight-4.3.6 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.3.5 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.3.4 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.3.3 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.3.2 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.3.1 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.3.0 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.2.0 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.1.2 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.1.1 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.1.0 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.0.3 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.0.2 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.0.1 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-4.0.0 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-3.6.0.beta10 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-3.6.0.beta9 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-3.6.0.beta8 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-3.5.0.4 app/views/spotlight/feature_pages/_header.html.erb
blacklight-spotlight-3.6.0.beta7 app/views/spotlight/feature_pages/_header.html.erb