mirror of
https://github.com/Xevion/runnerspace.git
synced 2025-12-09 20:08:24 -06:00
- Not finished yet, major styling breakage in this commit - Also encapsulated GET & POST requests of /login and /signup routes into one route.
23 lines
732 B
HTML
23 lines
732 B
HTML
{% extends 'layouts/index.html' %}
|
|
{% from 'macros.html' import render_field %}
|
|
|
|
{% block content %}
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<span class="error-message">
|
|
{{ messages[0] }}
|
|
</span>
|
|
{% endif %}
|
|
{% endwith %}
|
|
<form method="POST" action="{{ url_for('auth.login') }}" class="login-form">
|
|
{{ render_field(form.username) }}
|
|
{{ render_field(form.password) }}
|
|
{{ render_field(form.remember_me) }}
|
|
<p><input type=submit value=Login>
|
|
|
|
</form>
|
|
<p class="form-subtext">
|
|
Don't have a login? <a href="{{ url_for('auth.signup') }}">Sign-up</a> instead!
|
|
</p>
|
|
{% endblock content %}
|