{% extends "base.html" %} {% load i18n %} {% load url from future %} {% block extrahead %} <style> label { vertical-align: top; width: 100px; display: inline-block; } </style> {% endblock %} {% block title %}{% trans 'Registration' %}{% endblock %} {% block content %} <div id="content-main"> <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 }} <div class="submit-row"> <input type="submit" value="{% trans 'Add user' %}" class="default"/> </div> </div> </form> </div> {% endblock %}