{% extends "base.html" %}{% load i18n %}

{% block description %}Anmelden auf Kasu.at{% endblock %}

{% block extra_head %}
<link rel="canonical" href="{% url 'login' %}"/>{% endblock %}


{% block maincontent %}
<form method="post" action="{% url 'login' %}">
  {% csrf_token %}
  <div class="grid_6">
    {{ current_page.content }}
  </div>
  <div class="grid_6">
    <fieldset>
      <legend>{% trans 'login' %}</legend>
      {% csrf_token %} {% include 'form.html' %} {% if form.errors %}
      <p>{% blocktrans %}Your username and password didn't match. Please try again.{% endblocktrans %}</p>
      {% endif %} <input type="hidden" name="next" value="{{next}}"/>
      <p>
        <a href="{% url 'password_reset' %}"> {% trans 'Forgot your Password?'%}</a>
      </p>
      <div class="buttonbar">
        <button type="submit">
          <span class="fa fa-sign-in"></span> {% trans 'Login' %}
        </button>
      </div>
    </fieldset>
  </div>
</form>
{% endblock %}

