add register template
This commit is contained in:
parent
6e0cda7f3e
commit
ce029fafa2
1 changed files with 27 additions and 0 deletions
27
views/templates/register.php
Normal file
27
views/templates/register.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Daily Goals - Register</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Register</h1>
|
||||
<form id="register-form">
|
||||
<label>Email
|
||||
<input type="email" id="email" name="email" required />
|
||||
</label>
|
||||
<label>Password (min 8 characters)
|
||||
<input
|
||||
type="password"
|
||||
id="password"
|
||||
name="password"
|
||||
minlength="8"
|
||||
required
|
||||
/>
|
||||
</label>
|
||||
<button type="submit">Register</button>
|
||||
</form>
|
||||
<p id="register-error" hidden></p>
|
||||
<p><a href="/login">Already have an account? Login</a></p>
|
||||
<script src="/js/auth.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue