Advertisement
Guest User

login.html

a guest
Oct 30th, 2020
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.58 KB | None | 0 0
  1. {% extends 'base.html' %}
  2.  
  3. {% block title %}<title>Login</title>{% endblock title %}
  4.  
  5. {% block content %}
  6.     <br>
  7.     <div class="container" style="align-items: center;">
  8.    
  9.         <div class="row">
  10.             <div class="col-lg-5">
  11.                 <form action="#" method="POST">
  12.                     {{ form.csrf_token }}
  13.                      
  14.                     <!-- Header Text -->
  15.                     <div>
  16.                         <h5 style="text-align: center;">You have to login before reading this post</h5>
  17.                         <p>Didn't have an account ? <a href="{{url_for('sign_up')}}">Sign Up</a></p>
  18.                     </div>
  19.  
  20.                     <!-- Username -->
  21.                     <div class="form-group">
  22.                         <label>Username</label>
  23.                         <input type="text" class="form-control" name="username">
  24.                        
  25.                     </div>
  26.  
  27.                     <!-- Password -->
  28.                     <div class="form-group">
  29.                         <label>Password</label>
  30.                         <input type="password" class="form-control" name="password">
  31.                        
  32.                     </div>
  33.  
  34.                     <!-- Button for submitting form -->
  35.                     <div style="text-align: center;">
  36.                         <button type="submit" class="btn btn-primary">Login</button>
  37.                        
  38.                     </div>
  39.                 </form><br><br>  
  40.                
  41.             </div>
  42.            
  43.         </div>
  44.    
  45.     </div>
  46. {% endblock content %}
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement