Fix up markup on form-add-payment-method.php

So that checkout.js correctly displays payment method's fields.
Part of #3396
This commit is contained in:
thenbrent 2013-11-01 12:01:10 -07:00
parent ac548d6610
commit ca01d7b1a5
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ global $woocommerce;
foreach ( $available_gateways as $gateway ) {
?>
<li id="payment_method_<?php echo $gateway->id; ?>" >
<input type="radio" class="input-radio" name="payment_method" value="<?php echo esc_attr( $gateway->id ); ?>" <?php if ($gateway->chosen) echo 'checked="checked"'; ?> />
<li class="payment_method_<?php echo $gateway->id; ?>">
<input id="payment_method_<?php echo $gateway->id; ?>" type="radio" class="input-radio" name="payment_method" value="<?php echo esc_attr( $gateway->id ); ?>" <?php if ($gateway->chosen) echo 'checked="checked"'; ?> />
<label for="payment_method_<?php echo $gateway->id; ?>"><?php echo $gateway->get_title(); ?> <?php echo $gateway->get_icon(); ?></label>
<?php
if ( $gateway->has_fields() || $gateway->get_description() ) {