Created
November 1, 2012 15:33
-
-
Save ozee/3994356 to your computer and use it in GitHub Desktop.
HTML: Bootstrap - login form in a modal
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
<a class="btn btn-primary" data-toggle="modal" href="#myModal" >Login</a> | |
<div class="modal hide" id="myModal"> | |
<div class="modal-header"> | |
<button type="button" class="close" data-dismiss="modal">x</button> | |
<h3>Login to MyWebsite.com</h3> | |
</div> | |
<div class="modal-body"> | |
<form method="post" action='' name="login_form"> | |
<p> | |
<input type="text" class="span3" name="eid" id="email" placeholder="Email"></p> | |
<p> | |
<input type="password" class="span3" name="passwd" placeholder="Password"></p> | |
<p> | |
<button type="submit" class="btn btn-primary">Sign in</button> | |
<a href="#">Forgot Password?</a> | |
</p> | |
</form> | |
</div> | |
<div class="modal-footer"> | |
New To MyWebsite.com? | |
<a href="#" class="btn btn-primary">Register</a> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment