<%= bootstrap_form_for @site, url: spotlight.site_path, layout: :horizontal, label_col: 'col-md-2', control_col: 'col-md-10' do |f| %>
<% end %>
<%= f.text_field :title %>
<%= f.text_field :subtitle %>
<%= t(:'.site_masthead.help') %>
<%= f.fields_for(:masthead, @site.masthead || @site.build_masthead) do |m| %> <%= render '/spotlight/featured_images/upload_form', f: m, initial_crop_selection: Spotlight::Engine.config.masthead_initial_crop_selection, crop_type: :masthead %> <% end %>
<%= f.submit nil, class: 'btn btn-primary' %>