<?php
if (!defined('ABSPATH')) exit; // Exit if accessed directly 
?>

<div class="iwbvel-column-manager-right-item">
    <input type="hidden" name="field_name[]" value="<?php echo (!empty($field_name)) ? esc_attr($field_name) : ''; ?>">
    <input type="hidden" name="field_label[]" value="<?php echo (!empty($field_label)) ? esc_attr($field_label) : ''; ?>">
    <span class="iwbvel-column-manager-field-name"><?php echo (!empty($field_label)) ? esc_html($field_label) : ''; ?></span>
    <input type="text" class="iwbvel-column-manager-field-title" placeholder="<?php esc_html_e('Enter column title ...', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?>" name="field_title[]" required value="<?php echo (!empty($field_title)) ? esc_attr($field_title) : ''; ?>" title="<?php esc_html_e('Enter column title', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?>">
    <label class="iwbvel-column-manager-color-field" title="<?php esc_html_e('Background Color', 'ithemeland-bulk-variation-editing-for-woocommerce') ?>" style="background: <?php echo (!empty($field_background_color)) ? esc_attr($field_background_color) : '#fff'; ?>">
        <input type="text" class="iwbvel-color-picker" title="<?php esc_html_e('Select Background Color', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?>" value="<?php echo (!empty($field_background_color)) ? esc_attr($field_background_color) : '#ffffff'; ?>" name="field_background_color[]">
    </label>
    <label class="iwbvel-column-manager-color-field">
        <input type="text" value="<?php echo (!empty($field_text_color)) ? esc_attr($field_text_color) : '#444444'; ?>" name="field_text_color[]" class="iwbvel-color-picker" title="<?php esc_html_e('Select Text Color', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?>">
    </label>
    <button type="button" class="iwbvel-button iwbvel-button-flat iwbvel-column-manager-field-sortable-btn">
        <i class="iwbvel-icon-menu1"></i>
    </button>
    <button type="button" class="iwbvel-button iwbvel-button-flat iwbvel-column-manager-remove-field" data-name="<?php echo (!empty($field_name)) ? esc_attr($field_name) : ''; ?>" data-action="<?php echo (!empty($field_action)) ? esc_attr($field_action) : ''; ?>" data-label="<?php echo (!empty($field_label)) ? esc_attr($field_label) : ''; ?>">
        <i class="iwbvel-icon-x"></i>
    </button>
</div>