Registration

This commit is contained in:
2018-06-29 14:00:45 +02:00
parent 57bc0b2a77
commit bc47310cfb
5 changed files with 76 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
{% extends 'base.html' %}
{% block content %}
<h1>Registration is disabled on this instance</h1>
{% endblock content %}

View File

@@ -0,0 +1,29 @@
{% extends 'base.html' %}
{% block content %}
<form method="post">
{{ form.hidden_tag() }}
{{ form.username.errors }}
{{ form.username.label }}
{{ form.username }}
<br>
{{ form.email.errors }}
{{ form.email.label }}
{{ form.email }}
<br>
{{ form.password.errors }}
{{ form.password.label }}
{{ form.password }}
<br>
{{ form.password_retype.errors }}
{{ form.password_retype.label }}
{{ form.password_retype }}
<br>
<button type="submit">{% trans %}Register{% endtrans %}</button>
</form>
{% endblock %}