{% extends "registration/registration_base.html" %} {% load static widget_tweaks %} {% load i18n %} {% block content %}

{% block title %}{% trans "Register for an Discuss Data account" %}{% endblock %}

{% csrf_token %} {% for field in form %}
{{ field.label_tag }} {% for error in field.errors %}
{{ error }}
{% endfor %} {{ field|attr:"class:form-control" }} {% if field.help_text %}

{{ field.help_text|safe }}

{% endif %}
{% endfor %}
{% endblock %} {% comment %} **registration/registration_form.html** Used to show the form users will fill out to register. By default, has the following context: ``form`` The registration form. This will be an instance of some subclass of ``django.forms.Form``; consult `Django's forms documentation `_ for information on how to display this in a template. {% endcomment %}