Skip to content

Commit a3d6ac9

Browse files
author
hwyu@adobe.com
committed
MC-42311: 2.4.3 stabilization
- Fixed static test failure
1 parent 1ea4070 commit a3d6ac9

File tree

1 file changed

+10
-7
lines changed
  • app/code/Magento/Payment/view/adminhtml/templates/transparent

1 file changed

+10
-7
lines changed

app/code/Magento/Payment/view/adminhtml/templates/transparent/form.phtml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
4747

4848
<div class="admin__field-control">
4949
<select id="<?= /* @noEscape */ $code ?>_cc_type"
50+
class="admin__control-select"
5051
data-container="<?= /* @noEscape */ $code ?>-cc-type"
51-
name="payment[cc_type]"
5252
data-validate='{required:true, "validate-cc-type-select":"#<?= /* @noEscape */ $code ?>_cc_number"}'
53-
class="admin__control-select">
53+
name="payment[cc_type]">
5454
<option value=""><?= $block->escapeHtml(__('Please Select')) ?></option>
5555
<?php foreach ($block->getCcAvailableTypes() as $typeCode => $typeName): ?>
5656
<option
@@ -106,10 +106,11 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
106106
</label>
107107

108108
<div class="admin__field-control">
109-
<select id="<?= /* @noEscape */ $code ?>_expiration" name="payment[cc_exp_month]"
110-
data-container="<?= /* @noEscape */ $code ?>-cc-month"
109+
<select id="<?= /* @noEscape */ $code ?>_expiration"
111110
class="admin__control-select admin__control-select-month"
112-
data-validate='{required:true, "validate-cc-exp":"#<?= /* @noEscape */ $code ?>_expiration_yr"}'>
111+
data-container="<?= /* @noEscape */ $code ?>-cc-month"
112+
data-validate='{required:true, "validate-cc-exp":"#<?= /* @noEscape */ $code ?>_expiration_yr"}'
113+
name="payment[cc_exp_month]">
113114
<?php foreach ($block->getCcMonths() as $k => $v): ?>
114115
<option
115116
value="<?= /* @noEscape */ $k ? $block->escapeHtml($k) : '' ?>"
@@ -119,9 +120,11 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
119120
<?php endforeach ?>
120121
</select>
121122

122-
<select id="<?= /* @noEscape */ $code ?>_expiration_yr" name="payment[cc_exp_year]"
123+
<select id="<?= /* @noEscape */ $code ?>_expiration_yr"
123124
class="admin__control-select admin__control-select-year"
124-
data-container="<?= /* @noEscape */ $code ?>-cc-year" data-validate='{required:true}'>
125+
data-container="<?= /* @noEscape */ $code ?>-cc-year"
126+
data-validate='{required:true}'
127+
name="payment[cc_exp_year]">
125128
<?php foreach ($block->getCcYears() as $k => $v): ?>
126129
<option
127130
value="<?= /* @noEscape */ $k ? $block->escapeHtml($k) : '' ?>"

0 commit comments

Comments
 (0)