{% extends 'zbx_dashboard/base.html' %}
{% load i18n %}
{% block content %}

    {% if form.errors %}
    <p class="bg-danger">{% trans "You have entered the wrong username or password." %}</p>
    {% endif %}

    <form action='.' method='post' role="form">
        {% csrf_token %}
        <div class="form-group">
            <label for="username">{% trans "Username" %}:</label>
            <input type="text" name="username" id="username" class="form-control" placeholder="{% trans "Enter your username" %}">
        </div>
        <div class="form-group">
            <label for="password">{% trans "Password" %}:</label>
            <input type="password" name="password" id="password" class="form-control" placeholder="{% trans "Enter your password" %}">
        </div>
        <button type="submit" class="btn btn-default">{% trans "Login" %}</button>
        <input type="hidden" name="next" value="{{ next|escape }}" />
    </form>
{% endblock %}
