{% extends "index.html" %}
{% block title %}Login{% endblock %}
{% block nav %}{% endblock %}
{% block main %}
    <article class='login'>
      <h3>Login</h3>
      <p>The demo login is:</p>
      <ul>
        <li>Login: demo</li>
        <li>Password: demo</li>
      </ul>
    </article>
    {% if message != '' %}
      <pre>{{ message }}</pre>
    {% endif %}
    <article class='left'>
        <form method='POST' action='/login'>
        Login: <input id='login' name='login' type='text' />
        Password: <input id='password' name='password' type='password' />
        <input type='submit' value='Log me in' onclick='javascript:return verify_login();'>
      </form>
    </article>
{% endblock %}
