{% load static crispy_forms_tags %}
{% csrf_token %} {% if id %} {% endif %} {{ form|crispy }}