<% content_for(:sidebar) do %> <%= render 'spotlight/shared/exhibit_sidebar' %> <% end %> <%= configuration_page_title %> <%= bootstrap_form_for @blacklight_configuration, url: spotlight.exhibit_metadata_configuration_path(@exhibit), layout: :horizontal, label_col: 'col-md-3 col-sm-3', control_col: 'col-md-5 col-sm-5' do |f| %>

<%= t(:'.order_header') %>

<%= t :'.instructions' %>

<% available_view_fields.keys.each do |type| %> <% end %> <%= f.fields_for :index_fields do |idxf| %> <% @blacklight_configuration.blacklight_config.index_fields.select { |k, v| blacklight_configuration_context.evaluate_if_unless_configuration(v.original) }.each do |key, config| %> <%= render partial: 'metadata_field', locals: { key: key, config: config, f: idxf } %> <% end %> <% end %>
<%= t :'.field.label' %>
<%= t :'.view.show' %>
<%= label_tag 'item_details', class: 'select-label' do %> <%= select_deselect_action(t :'.view.select_id') %> <%= t(:'.select_all') %> <% end %>
<%= t :".view.#{type}", default: t("blacklight.search.view.#{type}", default: type.to_s.humanize.titleize) %>
<%= label_tag t(:'.deselect_all') + type.to_s, class: 'select-label' do %> <%= select_deselect_action(t(:'.deselect_all') + type.to_s) %> <%= t(:'.select_all') %> <% end %>
<%= t :'.type_label' %>
<%= f.submit nil, class: 'btn btn-primary' %>
<% end %>

<%= t(:'.exhibit_specific.header') %>

<%= t(:'.exhibit_specific.instructions') %>

<% @exhibit.custom_fields.each do |field| %> <% end %>
<%= field.label %>
<%= exhibit_edit_link field %> · <%= exhibit_delete_link field %>
<%= field.short_description %>
<%= exhibit_create_link Spotlight::CustomField.new, class: 'btn btn-primary' %>