Sha256: 161f8d25a4caeaee41a1c8305e6b17d31a14128f919b3f6602ce8e8ac9925135
Contents?: true
Size: 1.48 KB
Versions: 2
Compression:
Stored size: 1.48 KB
Contents
<div role="tabpanel" class="tab-pane <%= 'active' if @tab == 'pages' %>" id="pages"> <p class="help-block"><%= t('spotlight.exhibits.translations.pages.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('spotlight.exhibits.translations.pages.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('spotlight.exhibits.translations.pages.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('spotlight.exhibits.translations.pages.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-2.0.0.rc2 | app/views/spotlight/translations/_pages.html.erb |
blacklight-spotlight-2.0.0.rc1 | app/views/spotlight/translations/_pages.html.erb |