messing around with flask tutorial

login.html 451B

12345678910111213141516
  1. {% extends 'base.html' %}
  2. {% block header %}
  3. <h1>{% block title %}Log In{% endblock %}</h1>
  4. {% endblock %}
  5. {% block content %}
  6. <form method="post">
  7. <label for="username">Username</label>
  8. <input name="username" id="username" required>
  9. <label for="password">Password</label>
  10. <input type="password" name="password" id="password" required>
  11. <input type="submit" value="Log In">
  12. </form>
  13. {% endblock %}