Sha256: 63349a24d467ccb7bdf2c79cdb397daa2e171c7a0d6a5a9120414002eb313d8b

Contents?: true

Size: 1 KB

Versions: 7

Compression:

Stored size: 1 KB

Contents

<div id="content" class="col-md-9">
<%= 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| %>
  <h1 class="page-title"><%= t(:'.header') %></h1>
  <div class="row">
    <%= f.text_field :name %>
    <span style="display:none;visibility:hidden;">
      <% honeypot_field_name = Spotlight::Engine.config.spambot_honeypot_email_field %>
      <%= label_tag(honeypot_field_name, t(:'.honeypot_field_explanation')) %><br/>
      <%= f.email_field honeypot_field_name %>
    </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 btn-link', data: { 'behavior' => 'cancel-link' } %>
      <%= f.submit nil, class: 'btn btn-primary' %>
      </div>
    </div>
  </div>
<% end %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
blacklight-spotlight-0.34.0 app/views/spotlight/contact_forms/new.html.erb
blacklight-spotlight-0.33.3 app/views/spotlight/contact_forms/new.html.erb
blacklight-spotlight-0.33.2 app/views/spotlight/contact_forms/new.html.erb
blacklight-spotlight-0.33.1 app/views/spotlight/contact_forms/new.html.erb
blacklight-spotlight-0.33.0 app/views/spotlight/contact_forms/new.html.erb
blacklight-spotlight-0.32.0 app/views/spotlight/contact_forms/new.html.erb
blacklight-spotlight-0.31.0 app/views/spotlight/contact_forms/new.html.erb