input to button for submit in myaccount/form-add-payment-method.php template
This commit is contained in:
parent
b24f16f492
commit
ea585b119b
|
@ -50,7 +50,7 @@ if ( $available_gateways = WC()->payment_gateways->get_available_payment_gateway
|
|||
|
||||
<div class="form-row">
|
||||
<?php wp_nonce_field( 'woocommerce-add-payment-method' ); ?>
|
||||
<input type="submit" class="woocommerce-Button woocommerce-Button--alt button alt" id="place_order" value="<?php esc_attr_e( 'Add payment method', 'woocommerce' ); ?>" />
|
||||
<button type="submit" class="woocommerce-Button woocommerce-Button--alt button alt" id="place_order" value="<?php esc_attr_e( 'Add payment method', 'woocommerce' ); ?>"><?php esc_html_e( 'Add payment method', 'woocommerce' ); ?></button>
|
||||
<input type="hidden" name="woocommerce_add_payment_method" id="woocommerce_add_payment_method" value="1" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue