Create templates/login.html
Browse files- app/templates/login.html +15 -0
app/templates/login.html
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% extends "base.html" %}
|
| 2 |
+
|
| 3 |
+
{% block content %}
|
| 4 |
+
<h2>Login</h2>
|
| 5 |
+
<form method="POST" action="{{ url_for('auth.login') }}">
|
| 6 |
+
<label for="email">Email:</label>
|
| 7 |
+
<input type="email" id="email" name="email" required>
|
| 8 |
+
|
| 9 |
+
<label for="password">Password:</label>
|
| 10 |
+
<input type="password" id="password" name="password" required>
|
| 11 |
+
|
| 12 |
+
<button type="submit">Login</button>
|
| 13 |
+
</form>
|
| 14 |
+
<p>Don't have an account? <a href="{{ url_for('auth.register') }}">Register here</a>.</p>
|
| 15 |
+
{% endblock %}
|