{% extends "security/base.html" %} {% from "security/_macros.html" import render_field, render_field_errors, render_form_errors %} {% block title %}AdvLabDB - Login{% endblock %} {% block body_attribs %} style=" background-image: radial-gradient(#35393b, #181a1b); " {% endblock %} {% block body %} AdvLabDB Database for labs Login {% if message %} {{ message | safe }} {% endif %} {% include "security/_messages.html" %} {{ login_user_form.hidden_tag() }} {{ render_form_errors(login_user_form) }} Email {{ login_user_form.email() }} Password {{ login_user_form.password() }} {% if login_user_form.email.errors %} {% for error in login_user_form.email.errors %}{{ error }}{% endfor %} {% endif %} {% if login_user_form.password.errors %} {% for error in login_user_form.password.errors %}{{ error }}{% endfor %} {% endif %} Remember me {{ login_user_form.remember() }} {% if login_user_form.remember.errors %} {% for error in login_user_form.remember.errors %}{{ error }}{% endfor %} {% endif %} {{ render_field_errors(login_user_form.csrf_token) }} {{ render_field(login_user_form.submit) }} {% endblock %}
Database for labs