Merge pull request #4047 from thenbrent/form_pay_fix

Fix markup on form-pay.php
This commit is contained in:
Mike Jolley 2013-11-04 02:00:14 -08:00
commit 43b302e9dc
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,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() ) {