18 lines
664 B
HTML
18 lines
664 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Register{% endblock %}
|
|
{% block content %}
|
|
<h2>Register</h2>
|
|
<form method="post">
|
|
<div class="form-group">
|
|
<label for="username">Username</label>
|
|
<input type="text" class="form-control" name="username" id="username" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<input type="password" class="form-control" name="password" id="password" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Register</button>
|
|
</form>
|
|
<p class="mt-2">Already have an account? <a href="{{ url_for('login') }}">Login here</a>.</p>
|
|
{% endblock %}
|