diff options
Diffstat (limited to 'authentication/templates/login.html')
| -rw-r--r-- | authentication/templates/login.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/authentication/templates/login.html b/authentication/templates/login.html new file mode 100644 index 0000000..fcba5cd --- /dev/null +++ b/authentication/templates/login.html | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | {% extends "./base.html" %} | ||
| 2 | |||
| 3 | {% block content %} | ||
| 4 | <form method="post"> | ||
| 5 | |||
| 6 | <input type="email" name="username" {% if form %}value="{{ form.username }}"{% endif %} placeholder="username" /> | ||
| 7 | {% if errors and errors.username %} | ||
| 8 | {{ errors.username }} | ||
| 9 | {% endif %} | ||
| 10 | |||
| 11 | |||
| 12 | <input type="password" name="password" /> | ||
| 13 | {% if errors and errors.password%} | ||
| 14 | {{ errors.password }} | ||
| 15 | {% endif %} | ||
| 16 | <button type="submit">Login</button> | ||
| 17 | </form> | ||
| 18 | {% endblock %} | ||
