<%= render 'spotlight/shared/curation_sidebar' %>
<%= bootstrap_form_for @exhibit, url: spotlight.exhibit_path(@exhibit), style: :horizontal do |f| %> <%= administration_page_title %>
<%= f.text_field :title %> <%= f.text_field :subtitle %> <%= f.text_area :description %> <%= f.form_group(:contact_emails, label: { text: nil, class: nil }, help: nil) do %> <%= f.fields_for :contact_emails, @exhibit.contact_emails do |contact| %> <% if contact.index == 0 %>
<%= text_field_tag "#{contact.object_name}[email]", contact.object, class: 'exhibit-contact form-control' %> +
<% else %> <%= text_field_tag "#{contact.object_name}[email]", contact.object, class: 'exhibit-contact form-control' %> <% end %> <% end %>

<%= t(:'.fields.contact_emails.help_block') %>

<% end %>
<%= f.submit nil, class: 'btn btn-primary' %>
<% end %>