{% load i18n %}
{% if form.non_field_errors %}<div class="errornote">{{ form.non_field_errors }}</div>{% endif %}
<fieldset class="module aligned">
  {% for field in form.hidden_fields %}
      {{ field }}
    {% endfor %}
    {% for field in form.visible_fields %}
      <div class="form-row">
        <label for="{{ field.name }}">{{ field.label }}</label>
        {{ field }}
        {% if field.help_text %}<div class="help">{{ field.help_text }}</div>{% endif %}
        {% if field.errors %}<div class="errors">{{ field.errors }}</div>{% endif %}
      </div>
    {% endfor %}
</fieldset>
