Input type fix

This commit is contained in:
Mike Jolley 2011-11-16 13:30:34 +00:00
parent 5ec62c6852
commit 9731f950ff
1 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ class woocommerce_checkout {
global $woocommerce;
$defaults = array(
'type' => 'input',
'type' => 'text',
'label' => '',
'placeholder' => '',
'required' => false,
@ -347,7 +347,7 @@ class woocommerce_checkout {
$field = '<p class="form-row '.implode(' ', $args['class']).'">
<label for="'.$key.'" class="'.implode(' ', $args['label_class']).'">'.$args['label'].$required.'</label>
<input type="'.$args['type'].'" class="input-text" name="'.$key.'" id="'.$key.'" placeholder="'.$args['placeholder'].'" value="'. $this->get_value( $key ).'" />
<input type="text" class="input-text" name="'.$key.'" id="'.$key.'" placeholder="'.$args['placeholder'].'" value="'. $this->get_value( $key ).'" />
</p>'.$after;
break;