<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    {% if message %}
    <div id="message" style="padding: 1rem; border: 2px solid black; background-color: green; color: white">{{message}}</div>
    {% endif %}
    {% if error %}
    <div id="error" style="padding: 1rem; border: 2px solid black; background-color: red; color: white">{{error}}</div>
    {% endif %}
    <h4>Login page</h4>
    <form action="/login" method="post">
        <input type="text" name="login" placeholder="login">
        <input type="password" name="password" placeholder="password">
        <input type="submit" name="submit" value="submit">
    </form>
    <hr>
    <a href="/register">Registration</a> 
    <br>
    <a href="/recover-password">Recover password</a>
</body>
</html>