W12 done
This commit is contained in:
parent
1d087064dd
commit
ee0715c3b2
19 changed files with 1525 additions and 0 deletions
24
w12/views/register.twig
Normal file
24
w12/views/register.twig
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<!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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue