24 lines
870 B
HTML
24 lines
870 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Register{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="form-container">
|
|
<h2>Register</h2>
|
|
{% if error %}
|
|
<div class="alert error show">
|
|
{{ error }}
|
|
</div>
|
|
{% endif %}
|
|
<form method="post" action="/register">
|
|
<label for="username">Username:</label>
|
|
<input type="text" id="username" name="username" required>
|
|
<label for="password">Password:</label>
|
|
<input type="password" id="password" name="password" required>
|
|
<label for="full_name">Full Name:</label>
|
|
<input type="text" id="full_name" name="full_name" required>
|
|
<button type="submit">Register</button>
|
|
</form>
|
|
<p>Already have an account? <a href="/login">Login here</a></p>
|
|
</div>
|
|
{% endblock %} |