Mercurial > kraina_muminkow
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/frontend/mfrontend/templates/login.html Tue Feb 22 19:25:10 2011 +0000 @@ -0,0 +1,14 @@ +{% extends "layout.html" %} +{% block body %} + <h2>Login</h2> + {% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %} + <form action="{{ url_for('login') }}" method=post> + <dl> + <dt>Username: + <dd><input type=text name=username> + <dt>Password: + <dd><input type=password name=password> + <dd><input type=submit value=Login> + </dl> + </form> +{% endblock %}