You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
927 B
27 lines
927 B
<div class="container pb-5">
|
|
<h1>Contact Form</h1>
|
|
<%= form_for @contact do |f| %>
|
|
<div class="col-md-6">
|
|
<%= f.label :name %></br>
|
|
<%= f.text_field :name, required: true, class: "contact-form-text-area" %></br>
|
|
|
|
<%= f.label :email %></br>
|
|
<%= f.text_field :email, required: true, class: "contact-form-text-area" %></br>
|
|
|
|
<%= f.label :organization %></br>
|
|
<%= f.text_field :organization, required: true, class: "contact-form-text-area" %></br>
|
|
|
|
<%= f.label :message %></br>
|
|
<%= f.text_area :message, rows: 8, cols: 40, required: true, class: "contact-form-text-area",
|
|
placeholder: "Send me a message"%></br>
|
|
|
|
<div class= "d-none">
|
|
<%= f.label :nickname %>
|
|
<%= f.text_field :nickname, :hint => 'Leave this field blank!' %>
|
|
</div>
|
|
|
|
<%= f.submit 'Send Message', class: 'btn btn-primary' %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|