example/templates/login.html
raw| 1 | {% extends "layout.html" %} |
| 2 | {% block title %}Sign in{% endblock %} |
| 3 | {% block body %} |
| 4 | <h2>Sign in</h2> |
| 5 | <form action="" method=post> |
| 6 | {% if error %}<p class=error><strong>Error:</strong> {{ error }}</p>{% endif %} |
| 7 | <p> |
| 8 | OpenID: |
| 9 | <input type=text name=openid size=30> |
| 10 | <input type=submit value="Sign in"> |
| 11 | <input type=hidden name=next value="{{ next }}"> |
| 12 | </form> |
| 13 | {% endblock %} |