{{ form.media }}
{% for hidden in form.hidden_fields %}{{ hidden }}{% endfor %}
{% for field in form.visible_fields %}
<div>
  <label {% if field.html_name != 'recaptcha' %} for="id_{{ field.html_name}}" {% endif %}
         class="field_name {{ field.css_classes }}">{{ field.label}}</label>
  {{ field }}
  {% if field.help_text and not field.field.widget.input_type %}
  {{field.help_text}}
  {% elif field.help_text %}
  <p class="help_text">{{field.help_text}}</p>
  {% endif %}
  {% if field.errors %}{{ field.errors }}{% endif %}
</div>
{% endfor %}
