{% load crispy_forms_tags %}
{% if form.instance.id %}

Update this payment Cancel

{% crispy form %}
{% else %}

Add a payment to the schedule Cancel

{% crispy form %}
{% endif %}