Sha256: 7e013c9963101920c7bcaf1e20c582bd9ea8dd50f7ed37e7ce5d63c777f6d9ae

Contents?: true

Size: 1.34 KB

Versions: 51

Compression:

Stored size: 1.34 KB

Contents

<div role="tabpanel" class="tab-pane <%= 'active' if @tab == 'pages' %>" id="pages">
  <p class="instructions"><%= t('.help_html') %></p>

  <%= bootstrap_form_for @exhibit, url: polymorphic_path([:update_all, @exhibit, :pages]), layout: :horizontal, control_col: 'col-sm-10', html: {:'data-form-observer' => true} do |f| %>
    <div class="translation-home-page-settings">
      <h2 class="translation-subheading">
        <%= t('.home_page.label') %>
      </h2>
      <%= render 'pages_table', pages: [current_exhibit.home_page], f: f %>
    </div>

    <% if current_exhibit.feature_pages.any? %>
      <div class="translation-feature-page-settings">
        <h2 class="translation-subheading">
          <%= t('.feature_pages.label') %>
        </h2>

        <%= render 'pages_table', pages: current_exhibit.feature_pages.for_default_locale, f: f %>
      </div>
    <% end %>

    <% if current_exhibit.about_pages.any? %>
      <div class="translation-about-page-settings">
        <h2 class="translation-subheading">
          <%= t('.about_pages.label') %>
        </h2>

        <%= render 'pages_table', pages: current_exhibit.about_pages.for_default_locale, f: f %>
      </div>
    <% end %>
    <div class="form-actions">
      <div class="primary-actions">
        <%= f.submit nil, class: 'btn btn-primary' %>
      </div>
    </div>
  <% end %>
</div>

Version data entries

51 entries across 51 versions & 1 rubygems

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