{% extends "account/base.html" %}
{% load i18n %}
{% load account socialaccount %}
{% block head_title %}Войти{% endblock %}
{% block content %}
<div class="login-wrap">
<div class="login-content">
<div class="login-logo">
<a href="#">
<img src="/static_cdn/design/images/icon/logo.png" alt="CoolAdmin" width="200">
</a>
</div>
<div class="login-form">
<form action="{% url 'account_login' %}" method="post">
<div class="form-group">
<input class="au-input au-input--full" type="email" name="login" placeholder="Email">
</div>
<div class="form-group">
<input class="au-input au-input--full" type="password" name="password" placeholder="Пароль">
</div>
<div class="login-checkbox">
<label>
<a href="{% url 'account_reset_password' %}">Забыли пароль?</a>
</label>
</div>
<button class="au-btn au-btn--block au-btn--green m-b-20" type="submit">Войти</button>
<!--
<div class="social-login-content">
<div class="social-button">
<button class="au-btn au-btn--block au-btn--blue m-b-20">sign in with facebook</button>
<button class="au-btn au-btn--block au-btn--blue2">sign in with twitter</button>
</div>
</div>-->
</form>
{% if settings.MULTI_USER %}
<div class="register-link">
<p>
Нет аккаунта?
<a href="{{ signup_url }}">Зарегистрируйтесь</a>
</p>
</div>
{% endif %}
</div>
</div>
</div>
<!--
<h1>{% trans "Sign In" %}</h1>
{% get_providers as socialaccount_providers %}
{% if socialaccount_providers %}
<p>{% blocktrans with site.name as site_name %}Please sign in with one
of your existing third party accounts. Or, <a href="{{ signup_url }}">sign up</a>
for a {{ site_name }} account and sign in below:{% endblocktrans %}</p>
<div class="socialaccount_ballot">
<ul class="socialaccount_providers">
{% include "socialaccount/snippets/provider_list.html" with process="login" %}
</ul>
<div class="login-or">{% trans 'or' %}</div>
</div>
{% include "socialaccount/snippets/login_extra.html" %}
{% else %}
<p>{% blocktrans %}If you have not created an account yet, then please
<a href="{{ signup_url }}">sign up</a> first.{% endblocktrans %}</p>
{% endif %}
<form class="login" method="POST" action="{% url 'account_login' %}">
{% csrf_token %}
{{ form.as_p }}
{% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
{% endif %}
<a class="button secondaryAction" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
<button class="primaryAction" type="submit">{% trans "Sign In" %}</button>
</form>
-->
{% endblock %}