Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 5b5f120

Browse files
authored
Create login.html
1 parent 0d6d011 commit 5b5f120

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{% extends 'base.html' %}
2+
{% block content %}
3+
<form method="POST">
4+
{% csrf_token %}
5+
<label>Username</label>
6+
<input name="username" type="text"><br>
7+
<label>Password</label>
8+
<input name="password" type="password"><br>
9+
10+
<button type="submit" class="btn btn-info">Login</button><br>
11+
<span style="color: red">{{ form.non_field_errors }}</span>
12+
13+
</form>
14+
{% endblock %}

0 commit comments

Comments
 (0)