{% load i18n %} {% load crispy_forms_tags %} {{form|crispy}} {% if pk %} {% else %} {% endif %}