<%= bootstrap_form_for @contact_form, url: spotlight.exhibit_contact_form_path(current_exhibit, @contact_form), layout: :horizontal, label_col: 'col-md-3 col-sm-3', control_col: 'col-sm-5 col-md-5' do |f| %>

<%= t(:'.header') %>

<%= f.text_field :name %> <% honeypot_field_name = Spotlight::Engine.config.spambot_honeypot_email_field %> <%= label_tag(honeypot_field_name, t(:'.honeypot_field_explanation')) %>
<%= f.email_field honeypot_field_name %>
<%= f.email_field :email %> <%= f.text_area :message, rows: 7 %> <%= f.hidden_field :current_url %>
<%= link_to t(:'helpers.action.cancel'), '#', class: 'btn btn-link', data: { 'behavior' => 'cancel-link' } %> <%= f.submit nil, class: 'btn btn-primary' %>
<% end %>