aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/login.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-01-09 22:11:34 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-01-09 22:11:34 +0100
commit7afbc14912a37e4328947299f7e3055e7e7f6b4a (patch)
tree8aa36067266b94423695fd9aff20a423b7e4becd /pyaggr3g470r/templates/login.html
parentUpdated years f copyright. (diff)
downloadnewspipe-7afbc14912a37e4328947299f7e3055e7e7f6b4a.tar.gz
newspipe-7afbc14912a37e4328947299f7e3055e7e7f6b4a.tar.bz2
newspipe-7afbc14912a37e4328947299f7e3055e7e7f6b4a.zip
Updated login forms and login template.
Diffstat (limited to 'pyaggr3g470r/templates/login.html')
-rw-r--r--pyaggr3g470r/templates/login.html15
1 files changed, 6 insertions, 9 deletions
diff --git a/pyaggr3g470r/templates/login.html b/pyaggr3g470r/templates/login.html
index 2930a8ee..ae0797a5 100644
--- a/pyaggr3g470r/templates/login.html
+++ b/pyaggr3g470r/templates/login.html
@@ -3,25 +3,22 @@
<div class="container">
<div class="jumbotron">
<h2>{{ _('Log In') }}</h2>
-
- {% for message in form.email.errors %}
- <div class="flash">{{ message }}</div>
- {% endfor %}
-
- {% for message in form.password.errors %}
- <div class="flash">{{ message }}</div>
- {% endfor %}
-
<form action="{{ url_for('login') }}" method=post>
{{ form.hidden_tag() }}
<div class="form-group">
{{ form.email(class_="form-control", placeholder=_('Your email')) }}
</div>
+ {% for message in form.email.errors %}
+ <div class="alert alert-warning" role="alert">{{ message }}</div>
+ {% endfor %}
<div class="form-group">
{{ form.password(class_="form-control", placeholder=_('Your Password')) }}
</div>
+ {% for message in form.password.errors %}
+ <div class="alert alert-warning" role="alert">{{ message }}</div>
+ {% endfor %}
{{ form.submit(class_="btn btn-default") }}
</form>
bgstack15