<form action="" method="post">
{% csrf_token %}
<label for="username">Логин</label>
<input type="text" name="username" id="login" placeholder="Ваш логин..." required>
<label for="password">Пароль</label>
<input type="password" name="password" id="pswrd" placeholder="Ваш пароль..." required>
<input type="submit" name="submit" id="submit" value="Войти">
{% if login_error %}
<label class="error">{{ login_error }}</label>
{% endif %}
</form>
<header>
<div class="w_gran">
<div class="wrapper_head">
<div id="logotype">
<a href="index.html" class="head_logo_link">
{% load staticfiles %}
<img src="{% static 'img/logo.png' %}" alt="Logotype" class="head_img">
</a>
</div>
<ul id="head_nav">
<li class="head_li transition">
<a href="news.html" class="head_link">
НОВОСТИ
</a>
</li>
<li class="head_li">
<a href="post.html" class="head_link">
ПОСТЫ
</a>
</li>
<li class="head_li">
<a href="result.html" class="head_link">
РЕЗУЛЬТАТ
</a>
</li>
<li class="head_li">
<a href="info.html" class="head_link">
ИНФОРМАЦИЯ
</a>
</li>
<li class="head_li">
<a href="contact.html" class="head_link">
КОНТАКТЫ
</a>
</li>
<li class="head_li_search">
<a href="" class="head_search_link">
{% load staticfiles %}
<img src="{% static 'img/icon_search.png' %}" alt="Search" class="head_search_img">
</a>
</li>
</ul>
<div class="auth_reg">
<a href="auth.html" class="head_auth">
Войти
</a>
<br>
<a href="reg.html" class="head_reg">
Зарегестрироваться
</a>
</div>
</div>
</div>
</header>