<div class="checkout-payment card" {{ sylius_test_html_attribute('payment-item') }}>
    <header class="payment-header card-header">
        <div {{ sylius_test_html_attribute('payment-method-checkbox') }}>
            {{ form_widget(form, sylius_test_form_attribute('payment-method-select')) }}
        </div>

        <a>{{ form_label(form, null, {'label_attr': {'data-test-payment-method-label': ''}}) }}</a>
    </header>

    <div class="payment-content">
        {% if method.description is not null %}
            <p class="payment-item-description">{{ method.description }}</p>
        {% endif %}
    </div>
</div>
