comparison frontend/mfrontend/templates/login.html @ 3:79fc37fe85a6

Zabawy z Flaskiem ciąg dalszy, zaczyna to jakoś wyglądać
author michalr
date Tue, 22 Feb 2011 19:25:10 +0000
parents
children d86794939fe4
comparison
equal deleted inserted replaced
2:e0061735c327 3:79fc37fe85a6
1 {% extends "layout.html" %}
2 {% block body %}
3 <h2>Login</h2>
4 {% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %}
5 <form action="{{ url_for('login') }}" method=post>
6 <dl>
7 <dt>Username:
8 <dd><input type=text name=username>
9 <dt>Password:
10 <dd><input type=password name=password>
11 <dd><input type=submit value=Login>
12 </dl>
13 </form>
14 {% endblock %}