{{ form.media }}
{% if valid %}
The form is valid!
{% endif %}
{{ form.as_table }}