mp/Sean/views/forgot-password.ejs
2024-01-21 16:07:27 +08:00

31 lines
973 B
Plaintext

<!-- forgot-password.ejs -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Forgot Password - Your Website</title>
<link rel="stylesheet" href="forgot-password.css">
</head>
<body>
<div id="forgotPasswordForm">
<form action="/forgot-password" method="post">
<% if (typeof error !== 'undefined' && error !== null && error !== '') { %>
<div class="error-message"><%= error %></div>
<% } else if (typeof success !== 'undefined' && success !== null && success !== '') { %>
<div class="success-message"><%= success %></div>
<% } %>
<div class="input-box">
<span class="details">Username</span>
<input type="text" name="usernameOrEmail" placeholder="Enter your email" required>
</div>
<div class="button">
<input type="submit" value="Submit">
</div>
</form>
</div>
</body>
</html>