21 lines
559 B

  1. {% extends 'base.html' %}
  2. {% block title %}Login{% endblock %}
  3. {% block content %}
  4. {% if message %}
  5. <p>{{ message }}</p>
  6. {% endif %}
  7. <form action="/" method="post">
  8. <label for="email">Email:</label>
  9. <input type="email" id="email" name="email" required>
  10. <label for="password">Password:</label>
  11. <input type="password" id="password" name="password" required>
  12. <button type="submit">Login</button>
  13. </form>
  14. <p><a href="{{ url_for('registration_page') }}">Register here</a></p>
  15. {% endblock %}