{% extends "security/base.html" %} {% from "security/_macros.html" import render_field_with_errors, render_field, render_field_errors, render_form_errors %} {% block title %}AdvLabDB - Login{% endblock title %} {% block body_attribs %} style=" background-image: radial-gradient(#35393b, #181a1b); " {% endblock body_attribs %} {% block body %} AdvLabDB Database for labs Login {% 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 body %}
Database for labs