{% extends "layout.html" %}

{% block login %}
  <form action="/ts/login/" method="post" id="login-form">
    Login: 
    <input type="text" name="username" id="id_username" />
    <input type="password" name="password" id="id_password" />
    <input type="submit" value="go" style="width: 25px"/>
      {% if next %}<input type="hidden" name="next" value="{{ next }}" />{% endif %}
  </form>
{% endblock %}

{% block loginerror %}
  {% if message %}
  <div id="loginfailed" class="error">
    {{ message }}
  </div>
  {% endif %}
{% endblock %}

{% block title %}Login{% endblock %}

{% block content %}
<h1>Welcome</h1>
Welcome to amnesia r41.3, the ticket system. Please login in the top-right 
corner to use the system.
{% endblock %}
