<?php
/**
 * Add New Comment Template
 *
 * This template can be overridden by copying it to yourtheme/wc-vendors/orders/comments/add-new-comment.php
 *
 * @author        Jamie Madden, WC Vendors
 * @package       WCVendors/Templates/Emails/HTML
 * @version       2.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
?>

<form method="post" name="add_comment" id="add-comment_<?php echo esc_attr( $order_id ); ?>">

    <?php wp_nonce_field( 'add-comment' ); ?>

    <textarea name="comment_text" style="width:97%"></textarea>

    <input type="hidden" name="product_id" value="<?php echo esc_attr( $product_id ); ?>">
    <input type="hidden" name="order_id" value="<?php echo esc_attr( $order_id ); ?>">

    <input
        class="wcv-button"
        type="submit"
        name="submit_comment"
        value="<?php esc_attr_e( 'Add comment', 'wc-vendors' ); ?>"
        >

</form>
