{% load helpers %} {% if object.status and object.status == 'dc' %} {% else %} {% if object.pk %} {% else %} {% endif %} Recompute Sizing {% endif %}