Sha256: 54609d64c0b857a122d842148d08dc2ca383c624aa3f35bf5373769a142c0008

Contents?: true

Size: 1.1 KB

Versions: 7

Compression:

Stored size: 1.1 KB

Contents

<div class="container">
  <div class="row justify-content-center">
    <% contact_form ||= Spotlight::ContactForm.new current_url: request.original_url %>
    <%= bootstrap_form_for contact_form, url: spotlight.exhibit_contact_form_path(current_exhibit, contact_form), layout: :horizontal, label_col: 'col-sm-3', control_col: 'col-sm-9', html: { class: 'col-md-offset-2 col-md-8 my-3 '} do |f| %>

      <h2><%= t(:'.title') %></h2>
      <%= f.text_field :name %>
      <span style="display:none;visibility:hidden;">
        <% honeypot_field_name = Spotlight::Engine.config.spambot_honeypot_email_field %>
        <%= f.email_field honeypot_field_name, label: t(:'.honeypot_field_explanation') %>
      </span>
      <%= f.email_field :email %>
      <%= f.text_area :message, rows: 7 %>
      <%= f.hidden_field :current_url %>
      <div class="form-actions">
        <div class="primary-actions">
        <%= link_to t(:'helpers.action.cancel'), '#', class: 'btn-sizing', data: { 'behavior' => 'cancel-link' } %>
        <%= f.submit nil, class: 'btn btn-primary' %>
        </div>
      </div>
    <% end %>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.10 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.0.0.alpha.9 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.0.0.alpha.8 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.0.0.alpha.7 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.0.0.alpha.6 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.0.0.alpha.5 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.0.0.alpha.4 app/views/spotlight/shared/_report_a_problem.html.erb