{% load crispy_forms_tags %} {% include 'snippets/messages.html' with messages=messages %}
Update {{object}}
{% if form.errors %}
Invalid input: {{form.errors}}
{% endif %}
{% csrf_token %} {% if form.helper %}{% crispy form %}{% else %}{{form|crispy}}{% endif %}