Update default login template and add security state to app context processory

This commit is contained in:
Matt Wright
2012-08-16 18:03:47 -04:00
parent 8b139890b4
commit eeace79ef9
4 changed files with 14 additions and 15 deletions
-11
View File
@@ -1,11 +0,0 @@
{% include "_messages.html" %}
{% include "_nav.html" %}
<form action="{{ url_for_security('authenticate') }}" method="POST" name="login_form">
{{ form.hidden_tag() }}
{{ form.email.label }} {{ form.email }}<br/>
{{ form.password.label }} {{ form.password }}<br/>
{{ form.remember.label }} {{ form.remember }}<br/>
{{ form.next }}
{{ form.submit }}
</form>
<p>{{ content }}</p>