mirror of
https://github.com/TrentSPalmer/flask_photo_scaling_app.git
synced 2024-11-16 14:41:29 -08:00
40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="formContainer">
|
|
<h1>Sign In</h1>
|
|
<h3>(username Or email)</h3>
|
|
<form action='' method="post" novalidate>
|
|
{{ form.hidden_tag() }}
|
|
<p>
|
|
{{ form.username.label }}<br>
|
|
{{ form.username(size=24) }}
|
|
{% for error in form.username.errors %}
|
|
<span class="formWarning">[{{error}}]</span>
|
|
{% endfor %}
|
|
</p>
|
|
<p>
|
|
{{ form.email.label }}<br>
|
|
{{ form.email(size=24) }}
|
|
{% for error in form.email.errors %}
|
|
<span class="formWarning">[{{error}}]</span>
|
|
{% endfor %}
|
|
</p>
|
|
<p>
|
|
{{ form.password.label }}<br>
|
|
{{ form.password(size=24) }}
|
|
{% for error in form.password.errors %}
|
|
<span class="formWarning">[{{error}}]</span>
|
|
{% endfor %}
|
|
</p>
|
|
<p>{{ form.remember_me() }} {{ form.remember_me.label }}</p>
|
|
<p>{{ form.submit() }}</p>
|
|
</form>
|
|
<p>New User? <a href="{{ url_for('register') }}">Click to Register!</a></p>
|
|
<p>
|
|
Forgot Your Password? <a href="{{ url_for('reset_password_request') }}">Click to Reset It</a>
|
|
</p>
|
|
</div>
|
|
{% endblock %}
|
|
|