{% extends "checkout/checkout.html" %}
{% load i18n %}

{% block title %}
{% trans "Order preview" %} | {{ block.super }}
{% endblock %}

{% block checkout-nav %}
	{% include 'checkout/nav.html' with step=4 %}
{% endblock %}

{% block place_order %}
<form method="post" action="{% url checkout:preview %}" id="place-order-form">
	<input type="hidden" name="action" value="place_order" />
	{% csrf_token %}
    <div class="form-actions">
		<button id='place-order' type="submit" class="pull-right btn btn-primary btn-large js-disable-on-click" data-loading-text="{% trans 'Submitting...' %}">{% trans "Place order" %}</button>
    </div>
</form>
{% endblock place_order %}

{% extends "checkout/checkout.html" %}
{% load i18n %}

{% block title %}
    {% trans "Order preview" %} | {{ block.super }}
{% endblock %}

{% block checkout-nav %}
	{% include 'checkout/nav.html' with step=4 %}
{% endblock %}

{% block place_order %}
<form method="post" action="{% url checkout:preview %}" id="place-order-form">
	{% csrf_token %}
	<input type="hidden" name="action" value="place_order" />

    {% comment %}
    When submitting sensitive data on the payment details page (eg a bankcard)
    we don't want to save the data and so we pass the bound form to the preview 
    template and render it in a hidden div.  Then the payment information will
    get re-submitted when the user confirms the order.
    {% endcomment %}
    <div style="display:none">
        {% block hiddenforms %}{% endblock %}
    </div>

    <div class="form-actions">
		<button id='place-order' type="submit" class="pull-right btn btn-primary btn-large js-disable-on-click" data-loading-text="{% trans 'Submitting...' %}">{% trans "Place order" %}</button>
    </div>
</form>
{% endblock place_order %}

Add template block for hiding payment forms
Add template block for hiding payment forms
