Sha256: 1c16a105e76cb158538e059fce2609e29e32336bf53be8e72de631bcd4e8986c
Contents?: true
Size: 1.03 KB
Versions: 9
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-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-sizing', data: { 'behavior' => 'cancel-link' } %> </div> </div> <% end %> </div> </div>
Version data entries
9 entries across 9 versions & 1 rubygems