<%= t(:'.main_navigation.help') %>
<% end %>% content_for(:sidebar) do %> <%= render 'spotlight/shared/exhibit_sidebar' %> <% end %> <%= configuration_page_title %> <%= bootstrap_form_for @exhibit, url: spotlight.exhibit_appearance_path(@exhibit), layout: :horizontal, label_col: 'col-md-3', control_col: 'col-md-5 row', html: {data: { autocomplete_exhibit_catalog_path: spotlight.autocomplete_exhibit_catalog_path(current_exhibit, q: "%QUERY", format: "json") } } do |f| %> <% if @exhibit.errors.any? %>
<%= t(:'.site_theme.help') %>
<%= f.form_group :theme, label: { text: t(:'.site_theme.label') } do %> <% current_exhibit.themes.each do |theme| %><%= t(:'.site_masthead.help') %>
<%= f.fields_for(:masthead, current_exhibit.masthead || current_exhibit.build_masthead) do |m| %> <%= render '/spotlight/featured_images/form', f: m, initial_crop_selection: Spotlight::Engine.config.masthead_initial_crop_selection, crop_type: :masthead %> <% end %><%= t(:'.site_thumbnail.help') %>
<%= f.fields_for(:thumbnail, current_exhibit.thumbnail || current_exhibit.build_thumbnail) do |m| %> <%= render '/spotlight/featured_images/form', f: m, initial_crop_selection: Spotlight::Engine.config.thumbnail_initial_crop_selection, crop_type: :thumbnail %> <% end %>