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