2018-06-29 14:00:45 +02:00
|
|
|
{% extends 'base.html' %}
|
2018-07-13 11:22:28 +02:00
|
|
|
{% from '_macros.html' import field %}
|
2018-06-29 14:00:45 +02:00
|
|
|
|
|
|
|
{% block content %}
|
2018-07-13 10:19:37 +02:00
|
|
|
<form method="post" class="ui form">
|
2018-06-29 14:00:45 +02:00
|
|
|
{{ form.hidden_tag() }}
|
|
|
|
|
2018-07-13 10:19:37 +02:00
|
|
|
{% for error in form.errors %}
|
|
|
|
{{ form.errors }}
|
|
|
|
{% endfor %}
|
|
|
|
|
2018-07-13 11:22:28 +02:00
|
|
|
{{ field(form.username) }}
|
|
|
|
{{ field(form.email) }}
|
|
|
|
{{ field(form.password) }}
|
|
|
|
{{ field(form.password_retype) }}
|
2018-06-29 14:00:45 +02:00
|
|
|
|
2018-07-13 10:19:37 +02:00
|
|
|
<button type="submit" class="ui primary button">{% trans %}Register{% endtrans %}</button>
|
2018-06-29 14:00:45 +02:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|