{% extends 'generic/object_edit.html' %} {% block buttons %} {% if editing %} {% else %} {% endif %} Cancel {% endblock %}