<%= t('.help_html') %>

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

<%= t('.home_page.label') %>

<%= render 'pages_table', pages: [current_exhibit.home_page], f: f %>
<% if current_exhibit.feature_pages.any? %>

<%= t('.feature_pages.label') %>

<%= render 'pages_table', pages: current_exhibit.feature_pages.for_default_locale, f: f %>
<% end %> <% if current_exhibit.about_pages.any? %>

<%= t('.about_pages.label') %>

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