Goal-Calibration/views/templates/register.php

27 lines
706 B
PHP

<!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>