Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

layout.html

By: a guest on Apr 28th, 2012  |  syntax: HTML  |  size: 0.42 KB  |  views: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 %}