La version 5 de Planète Casio. Regroupe le forum, les programmes, les tutoriel, les sprites et tous les autres outils développés par nos soins.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

login.html 774B

123456789101112131415161718192021222324252627
  1. {% extends "base/base.html" %}
  2. {% block content %}
  3. <section class="form" style="width:40%;">
  4. <h1>Connexion</h1>
  5. <form action="" method="post">
  6. {{ form.hidden_tag() }}
  7. <p>
  8. {{ form.username.label }}<br>
  9. {{ form.username(size=32) }}<br>
  10. {% for error in form.username.errors %}
  11. <span style="color: red;">[{{ error }}]</span>
  12. {% endfor %}
  13. </p>
  14. <p>
  15. {{ form.password.label }}<br>
  16. {{ form.password(size=32) }}<br>
  17. {% for error in form.password.errors %}
  18. <span style="color: red;">[{{ error }}]</span>
  19. {% endfor %}
  20. </p>
  21. <p>{{ form.remember_me() }} {{ form.remember_me.label }}</p>
  22. <p>{{ form.submit() }}</p>
  23. </form>
  24. <p>Pas encore de compte&nbsp;? <a href="{{ url_for('register') }}">Créé-en un&nbsp;!</a></p>
  25. </form>
  26. {% endblock %}