login.html 809 B

12345678910111213141516171819202122232425
  1. {% extends "base.html" %}
  2. {% block title %}
  3. Toppers Tasks | Login
  4. {% endblock %}
  5. {% block content %}
  6. {% for category, message in get_flashed_messages(with_categories=True) %}
  7. <div class="alert alert-{{ category }}" role="alert">
  8. {{ message }}
  9. </div>
  10. {% endfor %}
  11. <form action="/login" method="post">
  12. <div class="mb-3">
  13. <label for="user" class="form-label">Username or Email</label>
  14. <input type="text" name="user" id="user" class="form-control">
  15. </div>
  16. <div class="mb-3">
  17. <label for="password" class="form-label">Password</label>
  18. <input type="password" name="password" id="password"
  19. class="form-control">
  20. </div>
  21. <div class="mb-3">
  22. <button type="submit" class="btn btn-primary max-wack">Login</button>
  23. </div>
  24. </form>
  25. {% endblock %}