<%= render 'spotlight/shared/curation_sidebar' %>
<%= administration_page_title %> <%= bootstrap_form_for @exhibit, url: spotlight.exhibit_path(@exhibit), layout: :horizontal, label_col: 'col-md-2', control_col: 'col-md-10', html: {class: "row"} do |f| %>
<%= 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 do |contact| %> <%= render partial: 'contact', locals: {contact: contact} %> <% end %>

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

<% end %> <%= f.form_group :published, label: { text: nil, class: nil }, help: nil do %> <%= f.check_box :published, label: "" %>

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

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

<%= t(:".delete_exhibit") %>

<%= t(:".delete_exhibit_warning_html", export_link: link_to(t(:'spotlight.exhibits.import.export.download'), spotlight.import_exhibit_path(@exhibit))) %>

<%= delete_link @exhibit, class: 'btn btn-default' %>