Fix order discount input label "for" attribute

This commit is contained in:
Brent Shepherd 2014-01-13 18:10:19 -08:00
parent 69694e7a13
commit 6610f71d5a
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class WC_Meta_Box_Order_Totals {
<?php endif; ?>
<div class="totals_group">
<h4><label for="_order_total"><?php _e( 'Order Discount', 'woocommerce' ); ?></label></h4>
<h4><label for="_order_discount"><?php _e( 'Order Discount', 'woocommerce' ); ?></label></h4>
<input type="text" class="wc_input_price" id="_order_discount" name="_order_discount" placeholder="<?php echo wc_format_localized_price( 0 ); ?>" value="<?php
if ( isset( $data['_order_discount'][0] ) )
echo esc_attr( wc_format_localized_price( $data['_order_discount'][0] ) );