1
0
forked from finn/site
site/backend/app/templates/login.html

34 lines
837 B
HTML
Raw Permalink Normal View History

2024-08-01 10:33:45 +00:00
{% extends "base.html" %}
2024-08-05 16:09:51 +00:00
{% block logincurrent %}class="current"{% endblock %}
2024-08-01 10:33:45 +00:00
{% block content %}
<h1>Sign In</h1>
<form action="" method="post" novalidate>
{{ form.hidden_tag() }}
<p>
{{ form.username.label }}<br>
{{ form.username(size=32) }}<br>
{% for error in form.username.errors %}
<span style="color: red;">[{{ error }}]</span>
{% endfor %}
</p>
<p>
{{ form.password.label }}<br>
{{ form.password(size=32) }}<br>
{% for error in form.password.errors %}
<span style="color: red;">[{{ error }}]</span>
{% endfor %}
</p>
<p>{{ form.remember_me() }} {{ form.remember_me.label }}</p>
2024-08-05 14:22:32 +00:00
<p>
{{ form.submit }}
<a class="button" href="{{ url_for('register') }}">Register</a>
</p>
2024-08-01 10:33:45 +00:00
</form>
2024-08-05 05:00:07 +00:00
<p><a href="{{ url_for('reset_password_request') }}">Reset Password</a></p>
2024-08-01 18:10:49 +00:00
2024-08-01 10:33:45 +00:00
{% endblock %}