{% if self.instance.pk %} {% with pk=self.instance.pk %} Edit Takeoff {% endwith %} {% endif %}