Skip to content

Commit

Permalink
Merge pull request #2 from ariestiyansyah/master
Browse files Browse the repository at this point in the history
Contact form using functional html forms
  • Loading branch information
anak10thn committed Aug 30, 2015
2 parents 2053c39 + 3de47af commit 2bb06df
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -556,32 +556,32 @@ <h3 class="section-subheading text-muted"> </h3>
</div>
<div class="row">
<div class="col-lg-12">
<form name="sentMessage" id="contactForm" novalidate>
<form action="http://formspree.io/[email protected]" role="form" method="POST" novalidate>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<input type="text" class="form-control" placeholder="Your Name *" id="name" required data-validation-required-message="Please enter your name.">
<input type="text" name="name "class="form-control" placeholder="Your Name *" required data-validation-required-message="Please enter your name.">
<p class="help-block text-danger"></p>
</div>
<div class="form-group">
<input type="email" class="form-control" placeholder="Your Email *" id="email" required data-validation-required-message="Please enter your email address.">
<input type="email" name="_replyto" class="form-control" placeholder="Your Email *" required data-validation-required-message="Please enter your email address.">
<p class="help-block text-danger"></p>
</div>
<div class="form-group">
<input type="tel" class="form-control" placeholder="Your Phone *" id="phone" required data-validation-required-message="Please enter your phone number.">
<input type="tel" name="phone" class="form-control" placeholder="Your Phone *" required data-validation-required-message="Please enter your phone number.">
<p class="help-block text-danger"></p>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<textarea class="form-control" placeholder="Your Message *" id="message" required data-validation-required-message="Please enter a message."></textarea>
<textarea name="body" class="form-control" placeholder="Your Message *" required data-validation-required-message="Please enter a message."></textarea>
<p class="help-block text-danger"></p>
</div>
</div>
<div class="clearfix"></div>
<div class="col-lg-12 text-center">
<div id="success"></div>
<button type="submit" class="btn btn-xl">Send Message</button>
<input type="submit" class="btn btn-xl" value="Send Message">
</div>
</div>
</form>
Expand Down

0 comments on commit 2bb06df

Please sign in to comment.