mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-06-05 16:43:12 +00:00
25 lines
No EOL
1.1 KiB
HTML
25 lines
No EOL
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% from "macros/input.html" import text %}
|
|
|
|
{% block content %}
|
|
<div class="block">
|
|
<h2>Login</h2>
|
|
<p>Welcome back!</p>
|
|
<form action="{{ url_for('auth.login') }}" method="POST">
|
|
{{ text(id="login-username", name="username", required=True) }}
|
|
{{ text(id="login-password", name="password", type="password", required=True) }}
|
|
<button type="submit" class="button primary">Login</button>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="block">
|
|
<h2>Register</h2>
|
|
<p>Don't have an account?</p>
|
|
<form action="{{ url_for('auth.register') }}" method="POST">
|
|
{{ text(id="register-username", name="username", required=True) }}
|
|
{{ text(id="register-password", name="password", type="password", required=True, minlength=8) }}
|
|
{{ text(id="register-confirm", name="confirm", type="password", required=True, minlength=8) }}
|
|
<button type="submit" class="button primary">Register</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %} |