42 lines
1.5 KiB
HTML
42 lines
1.5 KiB
HTML
|
|
||
|
{% extends "layout.html" %}
|
||
|
{% block content %}
|
||
|
<div class="login-content">
|
||
|
<form method="POST" action="">
|
||
|
{{ form.hidden_tag() }}
|
||
|
<fieldset class="login-group">
|
||
|
<legend class="">Log In</legend>
|
||
|
<div class="login-group">
|
||
|
{{ form.username.label(class="") }}
|
||
|
{% if form.username.errors %}
|
||
|
{{ form.username(class="") }}
|
||
|
<div class="">
|
||
|
{% for error in form.username.error %}
|
||
|
<span>{{ error }}</span>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% else %}
|
||
|
{{ form.username(class="") }}
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
<div class="login-group">
|
||
|
{{ form.password.label(class="") }}
|
||
|
{% if form.password.errors %}
|
||
|
{{ form.password(class="") }}
|
||
|
<div class="">
|
||
|
{% for error in form.password.error %}
|
||
|
<span>{{ error }}</span>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% else %}
|
||
|
{{ form.password(class="") }}
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
</fieldset>
|
||
|
<div class="login-group">
|
||
|
{{ form.submit(class="") }}
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
{% endblock %}
|