Last active
August 29, 2015 14:08
-
-
Save MattMS/d5a86f66f03591969792 to your computer and use it in GitHub Desktop.
Bootstrap 2 horizontal form
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
<form class="form-horizontal" method="post"> | |
<div class="control-group"> | |
<label class="control-label" for="email_inp">Email</label> | |
<div class="controls"> | |
<input id="email_inp" name="email" placeholder="Email" type="text"> | |
<span class="help-block">Please enter a valid email address.</span> | |
</div> | |
</div> | |
<div class="form-actions"> | |
<button class="btn btn-primary" name="submit_btn" type="submit">Save changes</button> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment