Blame view

templates/registration/registration_form.html 1.1 KB
janek37 authored
1
2
3
4
5
{% extends "base.html" %}
{% load i18n %}
{% load url from future %}

{% block extrahead %}
janek37 authored
6
7
8
9
10
11
12
    <style>
        label {
            vertical-align: top;
            width: 100px;
            display: inline-block;
        }
    </style>
janek37 authored
13
14
15
16
{% endblock %}

{% block title %}{% trans 'Registration' %}{% endblock %}
janek37 authored
17
18
{% block content %}
    <div id="content-main">
janek37 authored
19
janek37 authored
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 }}
janek37 authored
33
janek37 authored
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>
janek37 authored
42
43

{% endblock %}