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:10:31 +02:00
# {% block title %}{% translate '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">
2020-10-01 22:10:31 +02:00
<legend class="LP-Form__Legend">{% translate '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">
2020-10-01 22:10:31 +02:00
<button class="LP-Button">{% translate 'Login' %}</button>
2020-08-27 10:30:36 +02:00
</div>
</div>
2020-08-10 20:10:22 +02:00
</fieldset>
</form>
2020-10-01 22:10:31 +02:00
<p class="LP-Headline">{% translate 'Have No Account Yet?' %} <a class="LP-Link" href="{% url 'signup' %}"><span class="LP-Link__Text">{% translate 'Sign Up' %}</span></a></p>
2020-08-27 10:30:36 +02:00
{% endblock maincontent %}