{% extends 'global.html'%}
{% load static %}
{% load i18n %}
# {% block title %}{% translate 'Login' %}{% endblock %}

{% block maincontent %}

<form class="LP-Form" method="POST" enctype="multipart/form-data">
    <fieldset class="LP-Form__Fieldset">
        <legend class="LP-Form__Legend">{% translate 'Login' %}</legend>
        {% csrf_token %}
        <div class="LP-Form__Composition LP-Form__Composition--breakable">
            <div class="LP-Form__Field">
                {% include 'partials/form/inputField.html' with field=form.username %}
            </div>
            <div class="LP-Form__Field">
                {% include 'partials/form/inputField.html' with field=form.password %}
            </div>
		</div>

		<div class="LP-Form__Composition LP-Form__Composition--buttons">
			<div class="LP-Form__Field LP-Form__Button LP-Input">
				<button class="LP-Button">{% translate 'Login' %}</button>
			</div>
		</div>
    </fieldset>
</form>

<p class="LP-Headline">{% translate 'No account, yet?' %} <a class="LP-Link" href="{% url 'signup' %}"><span class="LP-Link__Text">{% translate 'Sign up' %}</span></a></p>

{% endblock maincontent %}