{% extends "admin/base_site.html" %}{% load i18n %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block bodyclass %}login{% endblock %} {% block mainbody %}

{% trans "Django administration" %}

{% trans "Welcome to the yawd-admin administration page. Please sign in to manage your website." %}

{% for lang in langs %}{% get_language_info for lang.name as info %} {{info.name}}{% endfor %}

{% if form.errors and not form.non_field_errors and not form.this_is_the_login_form.errors %}

{% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

{% endif %}{% if form.non_field_errors or form.this_is_the_login_form.errors %}{% for error in form.non_field_errors|add:form.this_is_the_login_form.errors %}

{{ error }}

{% endfor %}{% endif %}

{% trans 'Sign In' %}

{% csrf_token %}
{% if not form.this_is_the_login_form.errors %} {% endif %}
{{ form.username }}
{% if form.username.errors %} {{form.username.errors}}{% endif %}
{% if not form.this_is_the_login_form.errors %} {% endif %}
{{ form.password }}
{% if form.password.errors %} {{form.password.errors}}{% endif %}
{% endblock %}