Sha256: f0b55625909d0e007c3c01f88f2f73645b1d57d2bf774dc8336a63d362eb4d9d

Contents?: true

Size: 1.04 KB

Versions: 20

Compression:

Stored size: 1.04 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>
      <div class="alert alert-info"><%= t('.reporting_from', url: contact_form.current_url) %></div>
      <%= f.text_area :message, rows: 4 %>
      <%= f.text_field :name %>
      <%= render '/spotlight/shared/honeypot_field', f: f %>
      <%= f.email_field :email %>
      <%= f.hidden_field :current_url %>
      <div class="form-actions row">
        <div class="col offset-sm-3">
          <%= f.submit nil, class: 'btn btn-primary' %>
          <%= link_to t(:'helpers.action.cancel'), '#', class: 'btn btn-link', role: 'button', data: { 'behavior' => 'cancel-link' } %>
        </div>
      </div>
    <% end %>
  </div>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
blacklight-spotlight-4.7.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.6.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.6.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.5.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.4.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.3.6 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.3.5 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.3.4 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.3.3 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.3.2 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.3.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.3.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.2.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.1.2 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.1.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.1.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.0.3 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.0.2 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.0.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-4.0.0 app/views/spotlight/shared/_report_a_problem.html.erb