2024-04-10 17:05:08 -06:00
|
|
|
<div class="register-page">
|
|
|
|
|
<div class="form-container">
|
2024-04-11 02:33:51 -06:00
|
|
|
|
2024-04-10 17:05:08 -06:00
|
|
|
<h1 class="mt-5 mb-4">Register</h1>
|
2024-04-11 02:33:51 -06:00
|
|
|
|
|
|
|
|
<!--- START OF FORM --->
|
|
|
|
|
<form action="/register" method="POST" class="mt-3"> <!-- Specify API route to DB -->
|
|
|
|
|
<!-- app.post('register') is found in index.js -->
|
|
|
|
|
|
|
|
|
|
<div class="mb-3" id="username-form">
|
2024-04-10 17:05:08 -06:00
|
|
|
<label for="username" class="form-label">Username:</label>
|
|
|
|
|
<input type="text" class="form-control" id="usernameInput" name="username" required>
|
|
|
|
|
</div>
|
2024-04-11 02:33:51 -06:00
|
|
|
|
|
|
|
|
<div class="mb-3" id="password-form">
|
2024-04-10 17:05:08 -06:00
|
|
|
<label for="password" class="form-label">Password:</label>
|
|
|
|
|
<input type="password" class="form-control" id="passwordInput" name="password" required>
|
|
|
|
|
</div>
|
2024-04-11 02:33:51 -06:00
|
|
|
|
2024-04-24 00:13:07 -06:00
|
|
|
<button type="submit">Submit</button>
|
2024-04-11 02:33:51 -06:00
|
|
|
|
2024-04-10 17:05:08 -06:00
|
|
|
</form>
|
2024-04-11 02:33:51 -06:00
|
|
|
<!--- END OF FORM --->
|
|
|
|
|
|
2024-04-10 17:05:08 -06:00
|
|
|
<p class="mt-3">Already have an account? <a href="/login">Login</a></p>
|
2024-04-11 02:33:51 -06:00
|
|
|
|
2024-03-12 01:56:44 -06:00
|
|
|
</div>
|
2024-04-10 17:05:08 -06:00
|
|
|
</div>
|
2024-04-11 08:12:28 -06:00
|
|
|
|