{% load crispy_forms_tags %} {% if not created %} {{form|crispy}} {% else %}

Object created successfully

{% if reset_on_submit %} {{form|crispy}} {% endif %} {% endif %}