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) %> · <%= 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