PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 40ms app.codeStats 0ms

/tests/templates/login.html

https://code.google.com/p/mango-py/
HTML | 17 lines | 15 code | 2 blank | 0 comment | 0 complexity | db84afc4eccc39ae4fe2e864805444bc MD5 | raw file
 1{% extends "base.html" %}
 2{% block title %}Login{% endblock %}
 3{% block content %}
 4{% if form.has_errors %}
 5<p>Your username and password didn't match. Please try again.</p>
 6{% endif %}
 7
 8<form method="post" action=".">
 9<table>
10<tr><td><label for="id_username">Username:</label></td><td>{{ form.username }}</td></tr>
11<tr><td><label for="id_password">Password:</label></td><td>{{ form.password }}</td></tr>
12</table>
13
14<input type="submit" value="login" />
15<input type="hidden" name="next" value="{{ next }}" />
16</form>
17{% endblock %}