redstring/redstring/templates/login.jinja

20 lines
586 B
Django/Jinja

{% extends 'base.jinja' %}
{% set page_title = 'Login' -%}
{% block page_content %}
<div id="tabs">
<div id="tab-login" class="tab tab-down">login</div>
<div id="index" class="tab tab-right"><a href="/index/">index</a></div>
</div>
<div class="tab-page tab-page-selected">
<form action="" method="post" novalidate>
{{ form.hidden_tag() }}
<p>{{ form.password.label }}<br>{{ form.password(size=32) }}
{% for error in form.password.errors %}
<br><span style="color: #ff0000">{{ error }}</span>
{% endfor %}</p>
<p>{{ form.submit() }}</p>
</form>
</div>
{% endblock page_content %}