<%= configuration_page_title %>
<%= bootstrap_form_for @exhibit, url: spotlight.exhibit_appearance_path(@exhibit), layout: :horizontal, label_col: 'col-md-3 col-sm-3', control_col: 'col-md-5 col-sm-5', html: {data: { autocomplete_exhibit_catalog_path: spotlight.autocomplete_exhibit_catalog_path(current_exhibit, q: "%QUERY", format: "json") } } do |f| %>
<% if @exhibit.errors.any? %>
<%= pluralize(@exhibit.errors.count, "error") %> prohibited this page from being saved:
<% @exhibit.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% 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, jcrop_options: default_site_thumbnail_jcrop_options %>
<% end %>
<%= field_set_tag do %>
<%= t(:'.main_navigation.help') %>
<%= f.fields_for :main_navigations do |label| %>
-
<%= t :drag %>
<%= label.hidden_field :id %>
<%= label.check_box_without_bootstrap :display %>
<%= label.object.label_or_default %>
<%= label.hidden_field :label, data: {:"default-value" => label.object.default_label, :"edit-field-target" => 'true'} %>
<%= button_tag t(:'.restore_default'), data: {:"restore-default" => true}, class: "btn restore-default btn-default btn-sm pull-right #{'hidden' if label.object.label.blank? || label.object.label == label.object.default_label}" %>
<%= label.hidden_field :weight, data: {property: "weight"} %>
<% end %>
<% end %>
<% end %>