diff --git a/frappe/website/doctype/web_form/templates/web_form.html b/frappe/website/doctype/web_form/templates/web_form.html index e9b9b3d06e..79bb3992ee 100644 --- a/frappe/website/doctype/web_form/templates/web_form.html +++ b/frappe/website/doctype/web_form/templates/web_form.html @@ -289,22 +289,22 @@ {% endfor %} - {% if last_page and accept_payment %} -
- {% if not doc.paid %} - {% if payment_button_help %} -
- {{ payment_button_help }}
- {% endif %} - - {{ payment_button_label }} - {% else %} -
{{ _("Payment Complete") }}
+
+ {% endfor %} + {% if last_page and accept_payment %} +
+ {% if not doc.paid %} + {% if payment_button_help %} +
+ {{ payment_button_help }}
{% endif %} -
+ + {{ payment_button_label or "Pay"}} + {% else %} +
{{ _("Payment Complete") }}
{% endif %} - {% endfor %} + {% endif %}
{% if layout|len > 1 %}