lostplaces-backend/django_lostplaces/lostplaces/templates/registration/login.html

31 lines
1.1 KiB
HTML
Raw Normal View History

{% extends 'global.html'%}
{% load static %}
2020-10-01 22:58:06 +02:00
{% load i18n %}
# {% block title %}{% trans 'Login' %}{% endblock %}
{% block maincontent %}
2020-08-10 20:10:22 +02:00
<form class="LP-Form" method="POST" enctype="multipart/form-data">
<fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">{% trans 'Login' %}</legend>
2020-08-10 20:10:22 +02:00
{% 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>
2020-08-27 10:30:36 +02:00
</div>
2020-08-10 20:10:22 +02:00
2020-08-27 10:30:36 +02:00
<div class="LP-Form__Composition LP-Form__Composition--buttons">
<div class="LP-Form__Field LP-Form__Button LP-Input">
<button class="LP-Button">{% trans 'Login' %}</button>
2020-08-27 10:30:36 +02:00
</div>
</div>
2020-08-10 20:10:22 +02:00
</fieldset>
</form>
<p class="LP-Headline">{% trans 'Have No Account Yet?' %} <a class="LP-Link" href="{% url 'signup' %}"><span class="LP-Link__Text">{% trans 'Sign Up' %}</span></a></p>
2020-08-27 10:30:36 +02:00
{% endblock maincontent %}