<%= field_set_tag do %> <%= f.check_box(:display) %> <% end if f.object.is_a? Spotlight::Masthead %> <%= field_set_tag(t(:'.source.header')) do %>
<%= f.radio_button(:source, :exhibit, label: t(:'.source.exhibit.label')) %>
<%= f.hidden_field(:document_global_id) %> <%= text_field_tag(:document_title, (presenter(f.object.document).heading if f.object.document), class: "form-control", data: { input_select_target: "##{form_prefix(f)}_source_exhibit", 'behavior': 'autocomplete', featured_image_typeahead: true, target_panel: "##{form_prefix(f)}-target-panel", :'id-field' => "##{form_prefix(f)}_document_global_id" }) %> <%= t(:'.source.exhibit.help') %>
<%= f.radio_button(:source, :remote, label: t(:'.source.remote.label')) %> <%= iiif_upload_tag(f) %> <%= t(:'.source.remote.help') %>
<% end %> <%= field_set_tag(t(:'.source.remote.header')) do %>

<%= t(:'.crop_area.help', thing: crop_type) %>

<%= iiif_cropper_tags f, initial_crop_selection: initial_crop_selection %> <% end %>