<%= pluralize(@exhibit.errors.count, "error") %> prohibited this page from being saved:
-
<% @exhibit.errors.full_messages.each do |msg| %>
- <%= msg %> <% end %>
<% if Spotlight::Engine.config.exhibit_themes.many? %>
<% end %>
<%= t(:'.site_theme.help') %>
<%= f.form_group :theme, label: { text: t(:'.site_theme.label') } do %> <% Spotlight::Engine.config.exhibit_themes.each do |theme| %>
<%= image_tag "spotlight/themes/#{theme}_preview.png", width: 100, height: 100 %>
<%= f.radio_button :theme, theme, label: t(:".site_theme.#{theme}", default: theme.to_s.titleize), inline: true %>
<% end %>
<% end %>
<%= 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 %>
<%= f.submit nil, class: 'btn btn-primary' %>