Created
May 6, 2016 22:03
-
-
Save nfarah86/4d561ba279e00f2bd3328f6b74926636 to your computer and use it in GitHub Desktop.
Check to See if the User is in the Database
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
// omitted code | |
<form method="POST" class="navbar-form nav-center pull-right" action="/process_login"> | |
<div class="form-group"> | |
<input type="text" placeholder="Username" class="form-control" name="user_name"> | |
<input type="hidden" name="action" value="signIn"> | |
</div> | |
<div class="form-group"> | |
<input type="password" placeholder="Password" class="form-control" name="password"> | |
</div> | |
<div class="form-group"> | |
<input type="email" placeholder="Email" class="form-control" name="email"> | |
<button type="submit" class="btn btn-success">Log In </button> | |
<p style="font-size:8px"> Don't have an account? <a href = "/register_user">Register</a> </p> | |
</div> | |
</form> | |
// omitted code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment