<%= page_title(t('.section'), t('.page_title')) %>
<%= bootstrap_form_for @site, url: spotlight.site_path, layout: :horizontal, label_col: 'col-md-2', control_col: 'col-md-10' do |f| %>
<%= 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' %>
<% end %> <% content_for(:sidebar_position) { 'order-last' } %> <% content_for(:sidebar) do %> <%= render 'shared/site_sidebar' %> <% end %>