Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends 'base.html' %}
- {% block body %}
- {% if error_message is not None %}
- <li> {{ error_message }}</li>
- {% endif %}
- <form action="{% url 'app:login' %}" method="POST">
- {% csrf_token %}
- <div>
- <label>Login</label>
- <input id="id_username" name="username">
- </div>
- <div>
- <label>Hasło</label>
- <input id="id_password" name="password" type="password">
- </div>
- <div>
- <button type="submit">Log in</button>
- </div>
- </form>
- {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement