Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.57 KB | None | 0 0
  1. {% extends 'base.html' %}
  2. {% block body %}
  3.     {% if error_message is not None %}
  4.         <li> {{ error_message }}</li>
  5.     {% endif %}
  6.     <form action="{% url 'app:login' %}" method="POST">
  7.         {% csrf_token %}
  8.         <div>
  9.         <label>Login</label>
  10.             <input id="id_username" name="username">
  11.         </div>
  12.         <div>
  13.         <label>HasÅ‚o</label>
  14.             <input id="id_password" name="password" type="password">
  15.         </div>
  16.         <div>
  17.             <button type="submit">Log in</button>
  18.         </div>
  19.     </form>
  20. {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement