27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Register</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> <!-- Link to your CSS -->
|
|
</head>
|
|
<body>
|
|
<div class="auth-container"> {# <-- Add this wrapper div #}
|
|
<h1>Register</h1>
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
{% for category, message in messages %}
|
|
<div class="flash-message flash-{{ category }}">{{ message }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endwith %}
|
|
<form method="post">
|
|
<label for="username">Username:</label>
|
|
<input type="text" id="username" name="username" required><br>
|
|
<label for="password">Password:</label>
|
|
<input type="password" id="password" name="password" required><br>
|
|
<button type="submit">Register</button>
|
|
</form>
|
|
<p>Already have an account? <a href="{{ url_for('login') }}">Login here</a></p>
|
|
</div> {# <-- Close the wrapper div #}
|
|
</body>
|
|
</html> |