HighscoresServerTest/server/templates/auth.html

20 lines
No EOL
774 B
HTML

{% extends "base.html" %}
{% block content %}
<div class="auth">
<h2>Login</h2>
<form action="{{ url_for('auth.login') }}" method="POST">
<input type="text" name="username" placeholder="Username" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
</div>
<div class="auth">
<h2>Register</h2>
<form action="{{ url_for('auth.register') }}" method="POST">
<input type="text" name="username" placeholder="Username" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit">Register</button>
</form>
</div>
{% endblock %}