{% extends "base/base.html" %}

{% block meta %}
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" CONTENT="-1">
<meta http-equiv="Cache-Control" content="no-cache">
{% endblock %}
{% block js %}
<script type="text/javascript" defer="defer" src="{% url top_page %}static/js/alphafilter.js"></script>
<script type="text/javascript">
<!--
setTimeout("document.forms.appauth.username.focus();", 500);
//-->
</script>
{% endblock%}

{% block headernavi %}{% endblock %}

{% block contents %}
<a href="{% url top_page %}" title="Djanction"><img src="{% url top_page %}static/img/djanction_logo_200_70.png" class="alphafilter" width="200" height="70" border="0" alt="Djanction"></a>

<p>{{ msg }}</p>

<form name="appauth" method="post" action="{% url djanction.appauth.views.login %}">
  <table>
    <tr><td>{{ form.username.label_tag }}</td><td>{{ form.username }}</td></tr>
    <tr><td>{{ form.password.label_tag }}</td><td>{{ form.password }}</td></tr>
  </table>

  <p>
    <input type="image" src="{% url top_page %}static/img/button_login.png" value="ログイン">
  </p>
  <input type="hidden" name="next" value="{{ next }}">
</form>
{% endblock %}
