{% csrf_token %} {{form.as_p}} {% for fo in inlines %} f {{ fo.as_p }} t {% empty %} empty {% endfor %}