24 lines
No EOL
793 B
Twig
24 lines
No EOL
793 B
Twig
<!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 error %}
|
|
<div id="error" style="padding: 1rem; border: 2px solid black; background-color: red; color: white">{{error}}</div>
|
|
{% endif %}
|
|
<h4>Registration page</h4>
|
|
<form action="/register" 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="/login">Login</a>
|
|
<br>
|
|
<a href="/recover-password">Recover password</a>
|
|
</body>
|
|
</html> |