app/views/spotlight/feature_pages/_header.html.erb in blacklight-spotlight-3.0.0.alpha.2 vs app/views/spotlight/feature_pages/_header.html.erb in blacklight-spotlight-3.0.0.alpha.3
- old
+ new
@@ -1,18 +1,18 @@
<%= 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">
+ <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="col-sm-4 page-links">
+ <div class="page-links">
<%= exhibit_view_link page, exhibit_root_path(page.exhibit), class: 'btn btn-link' %> ·
<%= exhibit_edit_link page, edit_exhibit_home_page_path(page.exhibit), class: 'btn btn-link', data: { turbolinks: false } %>
</div>
</div>
</div>