- {% extends 'base.html' %}
-
- {% block title %}Login{% endblock %}
-
- {% block content %}
- {% if message %}
- <p>{{ message }}</p>
- {% endif %}
-
- <form action="/" method="post">
- <label for="email">Email:</label>
- <input type="email" id="email" name="email" required>
-
- <label for="password">Password:</label>
- <input type="password" id="password" name="password" required>
-
- <button type="submit">Login</button>
- </form>
- <p><a href="{{ url_for('registration_page') }}">Register here</a></p>
- {% endblock %}
|