Skip to content

Instantly share code, notes, and snippets.

@mtmcfarl
Last active December 26, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtmcfarl/7165145 to your computer and use it in GitHub Desktop.
Save mtmcfarl/7165145 to your computer and use it in GitHub Desktop.
<div class="row">
<%= form_tag("/contact", method: "post") do %>
<label class="control-label">First Name</label>
<input type="text" name="contact[first_name]" />
<label class="control-label">Last Name</label>
<input type="text" name="contact[last_name]" />
<label class="control-label">Company Name</label>
<input type="text" name="contact[company]" />
<label class="control-label">Email Address</label>
<input type="text" name="contact[email]" />
<label class="control-label">Phone Number</label>
<input type="text" name="contact[phone]" />
<label class="control-label">Your Question:</label>
<textarea name="contact[question]"></textarea>
<input type="submit" value="Submit" />
<% end %>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment