%= bootstrap_form_for [@search.exhibit, @search], layout: :horizontal, label_col: 'col-md-2 col-sm-2', control_col: 'col-md-7 col-sm-7', data: {form_observer: 'true', autocomplete_exhibit_catalog_path: spotlight.autocomplete_exhibit_search_path(@search.exhibit, @search, q: "%QUERY", format: "json")}, html: {id: 'edit-search'} do |f| %> <% if @search.errors.any? %>
<%= t(:'.group.help') %>
<%= f.collection_check_boxes(:group_ids, @groups, :id, :title, hide_label: true) %> <% else %><%= t(:'.group.help_no_groups') %>
<% end %><%= t(:'.masthead.help') %>
<%= t(:'.masthead.help_secondary') %>
<%= render '/spotlight/featured_images/form', f: m, initial_crop_selection: Spotlight::Engine.config.masthead_initial_crop_selection, crop_type: :masthead %> <% end %><%= t(:'.thumbnail.help') %>
<%= render '/spotlight/featured_images/form', f: m, initial_crop_selection: Spotlight::Engine.config.featured_image_thumb_size, crop_type: :thumbnail %> <% end %>