{% extends "shop/checkout/dialog-base.html" %} {% load i18n %} {% block dialog_form %}
{% if payment_method_form.has_choices %} {{ payment_method_form.as_div }} {% else %}

{% trans "No payment method available" %}

{% endif %}
{% block payment-provider-form %} {% if payment_modifiers.stripe_payment %}
{# reverse dependency can never be reached, if djangoshop-stripe is not installed #} {% include "shop/stripe-creditcard-form.html" %}
{% endif %} {% endblock %} {% endblock dialog_form %}