@@ -104,7 +104,8 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
104
104
</label>
105
105
106
106
<div class="admin__field-control">
107
- <select id="<?= /* @noEscape */ $ code ?> _expiration" name="payment[cc_exp_month]"
107
+ <select id="<?= /* @noEscape */ $ code ?> _expiration"
108
+ name="payment[cc_exp_month]"
108
109
data-container="<?= /* @noEscape */ $ code ?> -cc-month"
109
110
class="admin__control-select admin__control-select-month"
110
111
data-validate='{required:true, "validate-cc-exp":"#<?= /* @noEscape */ $ code ?> _expiration_yr"}'>
@@ -117,7 +118,8 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
117
118
<?php endforeach ?>
118
119
</select>
119
120
120
- <select id="<?= /* @noEscape */ $ code ?> _expiration_yr" name="payment[cc_exp_year]"
121
+ <select id="<?= /* @noEscape */ $ code ?> _expiration_yr"
122
+ name="payment[cc_exp_year]"
121
123
class="admin__control-select admin__control-select-year"
122
124
data-container="<?= /* @noEscape */ $ code ?> -cc-year" data-validate='{required:true}'>
123
125
<?php foreach ($ block ->getCcYears () as $ k => $ v ): ?>
@@ -137,10 +139,12 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
137
139
</label>
138
140
139
141
<div class="admin__field-control">
140
- <input type="text" title="<?= $ block ->escapeHtml (__ ('Card Verification Number ' )) ?> "
142
+ <input type="text"
143
+ title="<?= $ block ->escapeHtml (__ ('Card Verification Number ' )) ?> "
141
144
data-container="<?= /* @noEscape */ $ code ?> -cc-cvv"
142
145
class="admin__control-text cvv"
143
- id="<?= /* @noEscape */ $ code ?> _cc_cid" name="payment[cc_cid]"
146
+ id="<?= /* @noEscape */ $ code ?> _cc_cid"
147
+ name="payment[cc_cid]"
144
148
value=""
145
149
data-validate='{"required-number":true, "validate-cc-cvn":"#<?= /* @noEscape */ $ code?> _cc_type"}'
146
150
autocomplete="off"/>
0 commit comments