Sha256: 714d3b69c7e271a233a0f1cf5700f6549e8f23f676c5f3863f0f1c65f7f635ac

Contents?: true

Size: 1.03 KB

Versions: 26

Compression:

Stored size: 1.03 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-primary"><%= 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-sizing', data: { 'behavior' => 'cancel-link' } %>
        </div>
      </div>
    <% end %>
  </div>
</div>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
blacklight-spotlight-3.5.0.4 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.5.0.3 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.5.0.2 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.5.0.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.5.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.4.4.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.4.4 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.4.3 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.4.2.2 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.4.2.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.4.2 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.4.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.4.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.3.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.2.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.1.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.0.3 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.0.2 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.0.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-3.0.0 app/views/spotlight/shared/_report_a_problem.html.erb