Created
April 16, 2013 12:36
-
-
Save mikecmpbll/5395559 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p class="notice" style="display: none;"></p> | |
<p class="errorExplanation" style="display: none;"></p> | |
<%= form_tag contact_path, remote: true do -%> | |
<ul> | |
<li><%= label_tag :subject %> <%= text_field_tag :subject %></li> | |
<li><%= label_tag :phone %> <%= text_field_tag :phone, nil, class: :required %></li> | |
<li><%= label_tag :message %> <%= text_area_tag :message, nil, rows: 6, class: :required %> | |
<span class="desc">Please provide as much detail as you can about the nature of your request.</span> | |
</li> | |
<li><%= button_tag "Send" %></li> | |
<%= image_tag "/images/loader_large.gif", class: :loader, style: "display:none;" %> | |
</ul> | |
<% end -%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment