Skip to content

Commit

Permalink
Use APEX-Style on Payment-List
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Jun 14, 2024
1 parent 4940404 commit bf4f4b0
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions views/twig/frontend/tpl/payment/payment_unzer.html.twig
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<dl>
<dt>
<input id="payment_{{ sPaymentID }}" type="radio" name="paymentid" value="{{ sPaymentID }}" {% if oView.getCheckedPaymentId() == paymentmethod.oxpayments__oxid.value %}checked{% endif %}>
<label for="payment_{{ sPaymentID }}"><b>{{ paymentmethod.oxpayments__oxdesc.value }}</b></label>
</dt>
<dd class="payment-option{% if oView.getCheckedPaymentId() == paymentmethod.oxpayments__oxid.value %} activePayment{% endif %}">
<div class="clearfix"></div>
<div class="payment-option">
<div class="payment-option-form">
<input class="form-check-input" id="payment_{{ sPaymentID }}" type="radio" name="paymentid" value="{{ sPaymentID }}" {% if oView.getCheckedPaymentId() == paymentmethod.oxpayments__oxid.value %}checked{% endif %}>
<label class="form-check-label" for="payment_{{ sPaymentID }}">{{ paymentmethod.oxpayments__oxdesc.value }}</label>
</div>
<div class="payment-option-info{% if oView.getCheckedPaymentId() == paymentmethod.oxpayments__oxid.value %} activePayment{% endif %}">
{% block checkout_payment_longdesc %}
{% if paymentmethod.oxpayments__oxlongdesc.value|striptags|trim %}
<div class="desc">
{{ paymentmethod.oxpayments__oxlongdesc.getRawValue() }}
</div>
{% endif %}
{% endblock %}
</dd>
</dl>
</div>
</div>

0 comments on commit bf4f4b0

Please sign in to comment.