Sha256: b156174b7aafa517a7ff4ded64607a4bc9532dac3cabf4a71f349268adb89066

Contents?: true

Size: 865 Bytes

Versions: 2

Compression:

Stored size: 865 Bytes

Contents

<% provide :title, 'Contact Form' %>

<%= error_summary(@msg) %>
<div class="col-md-6 col-md-offset-3">
  <div class="panel panel-primary">
    <div class="panel-heading">
      <h4 class="panel-title">Contact Form</h4>
    </div>
    <div class="panel-body">
      <%= form_for @msg, url: contact_url, method: :post do |f| %>
          <%= f.text_form_group :your_name %>
          <%= f.text_form_group :your_email %>
          <%= f.select_form_group :related_to, [ 'Program Error', 'Broken Link', 'Feature Request', 'Other' ] %>
          <%= f.text_form_group :subject %>
          <%= f.textarea_form_group :body %>
          <br>
          <%= add_recaptcha_challenge %>
          <br>
          <%= f.submit 'Send', class: 'btn btn-success' %>
          <%= link_to 'Cancel', root_url, class: 'btn btn-default' %>
      <% end %>
    </div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
barkest_core-1.5.4.0 app/views/contact/index.html.erb
barkest_core-1.5.3.0 app/views/contact/index.html.erb