lostplaces-backend/django_lostplaces/lostplaces/templates/signup.html

56 lines
2.0 KiB
HTML
Raw Permalink Normal View History

{% extends 'global.html'%}
{% load static %}
2020-10-01 22:58:06 +02:00
{% load i18n %}
2020-08-03 17:29:25 +02:00
{% load widget_tweaks %}
# {% block title %}{% trans 'Sign up' %}{% endblock %}
{% block maincontent %}
2020-08-03 17:29:25 +02:00
<form class="LP-Form" method="POST">
<fieldset class="LP-Form__Fieldset">
2020-10-11 21:27:27 +02:00
<legend class="LP-Form__Legend">{% trans 'Sign up' %}</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.email %}
</div>
</div>
<div class="LP-Form__Composition LP-Form__Composition--breakable">
<div class="LP-Form__Field">
{% include 'partials/form/inputField.html' with field=form.first_name %}
</div>
<div class="LP-Form__Field">
{% include 'partials/form/inputField.html' with field=form.last_name %}
</div>
</div>
2020-08-03 17:29:25 +02:00
<div class="LP-Form__Composition">
<div class="LP-Form__Field">
{% include 'partials/form/inputField.html' with field=form.password1 %}
</div>
</div>
<div class="LP-Form__Composition">
<div class="LP-Form__Field">
{% include 'partials/form/inputField.html' with field=form.password2 %}
</div>
</div>
<div class="LP-Form__Composition">
<div class="LP-Form__Field">
{% include 'partials/form/inputField.html' with field=form.voucher %}
</div>
</div>
2020-08-03 17:29:25 +02:00
<div class="LP-Form__Composition LP-Form__Composition--buttons">
<div class="LP-Form__Field LP-Form__Button LP-Input">
2020-10-11 21:27:27 +02:00
<button class="LP-Button">{% trans 'Sign up' %}</button>
</div>
</div>
</fieldset>
2020-08-03 17:29:25 +02:00
</form>
{% endblock maincontent %}