Sha256: 2904188bc2b9abaf94ce14e6d5245bca0470151eac7a713b092cf9a96461d78d

Contents?: true

Size: 867 Bytes

Versions: 5

Compression:

Stored size: 867 Bytes

Contents

<div id="report-problem-form">
<div class="container">
<div class="row">
  <% 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-md-3', control_col: 'col-sm-4', html: { class: 'col-md-offset-3 col-md-7 '} do |f| %>
    
    <h2><%= t(:'.title') %></h2>
    <%= f.text_field :name %>
    <%= f.text_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 btn-link', data: { 'behavior' => 'cancel-link' } %>
      <%= f.submit nil, class: 'btn btn-primary' %>
      </div>
    </div>
  <% end %>
  </div>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-spotlight-0.4.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-0.3.1 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-0.3.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-0.2.0 app/views/spotlight/shared/_report_a_problem.html.erb
blacklight-spotlight-0.1.0 app/views/spotlight/shared/_report_a_problem.html.erb