|
1
2
3
4
5
|
{% extends "base.html" %}
{% load i18n %}
{% load url from future %}
{% block extrahead %}
|
|
6
7
8
9
10
11
12
|
<style>
label {
vertical-align: top;
width: 100px;
display: inline-block;
}
</style>
|
|
13
14
15
16
|
{% endblock %}
{% block title %}{% trans 'Registration' %}{% endblock %}
|
|
17
18
|
{% block content %}
<div id="content-main">
|
|
19
|
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<form action="" method="post">{% csrf_token %}
<div>
{% if form.errors %}
<p class="errornote">
{% blocktrans count form.errors.items|length as counter %}
Please correct the error below.{% plural %}Please
correct the errors below.{% endblocktrans %}
</p>
{% endif %}
<h1>{% trans 'Registration' %}</h1>
{{ form.as_p }}
|
|
33
|
|
|
34
35
36
37
38
39
40
41
|
<div class="submit-row">
<input type="submit" value="{% trans 'Add user' %}"
class="default"/>
</div>
</div>
</form>
</div>
|
|
42
43
|
{% endblock %}
|