{% extends "base_site.html" %}
{% load i18n %}
{% load static  %}

{% block header %}
{% endblock %}

{% block content %}

    <div class="container">

        <img id="login-logo" src="{% static 'img/Mohinga_Icon.png' %}" alt="">

        <section id="login animation-target">
                <form class="form-signin" action="." method="POST">
                    <input type="hidden" name="next" value="{{ next }}" />
                    <h2 class="form-signin-heading">{% trans "Please sign in" %}</h2>
                    <input id="id_username" maxlength="254" name="username" type="text" class="form-control" placeholder="Username" autofocus>
                    <input id="id_password" maxlength="4096" name="password" type="password" class="form-control" placeholder="Password">
                    {% if form.errors %}
                        <p class="error animated bounce">{% trans "Your username and password didn't match. Please try again." %}</p>
                    {% endif %}

                    <button class="btn btn-large btn-primary pull-right" type="submit">{% trans 'Sign in' %}</button>

                    {% csrf_token %}


                    {% url "auth_password_reset" as reset_url %}

                 <!--   <p>{% trans "Can't access your account?" %} <a href="{{ reset_url }}">{% trans 'Reset your password.' %}</a></p>-->

                    {% url "registration_register" as registration_url %}
                </form>

                <br />
                <br />
                <p class="credits">Software designed and developed by <a href="http://www.catalpa.io">Catalpa International Ltd</a></p>

                <div id="disclaimer">
                    <p>Data contained within this system is collected in collaboration with development partners as part of an ongoing process of collaboration and dialogue. As such, data within the system should not be used without first contacting the relevant development partner(s) to ensure data is correct.</p>
                </div>
        </section>

    </div>

{% endblock %}
