Source

django-emailform / example_app / templates / emailform / emailform_detail.html

<h3>{{emailform.title}}</h3>
{% if not entered %}
<h4>{{emailform.description}}</h4>
{% endif %}
{% if entered %}
  {{emailform.thanks_message}}
{% else %}
  {% if forms %}
    <form method="POST" enctype="multipart/form-data">
      {% for form in forms %}
        {{form.as_p}}
        {% if form.question.required %}
            <span class="required">*required</span>
        {% endif %}
      {% endfor %}
      <p><input class="submit" type="submit" value="Submit Survey" /></p>
    </form>
  {% endif %}
{% endif %}