<?php
/**
 * @package MatrixAddons
 * @subpackage trainifyframework
 * @since trainifyframework 1.0.0
 * @version 1.0.0
 * @description this file for color field
 */
?>
<p class="tff-widget-field-wrapper tff-color-field-wrapper <?php echo esc_attr($trainify_framework_widget_field_wraper); ?>">
	<label for="<?php echo esc_attr( $trainifyframeworkwidget->get_field_id( $trainify_framework_widget_field_name ) ); ?>">
		<?php echo esc_html( $trainify_framework_widget_field_title ); ?>:
	</label>
	<input class="widefat tff-color-picker <?php echo esc_attr($trainify_framework_widget_relation_class); ?>" id="<?php echo esc_attr( $trainifyframeworkwidget->get_field_id( $trainify_framework_widget_field_name ) ); ?>" name="<?php echo esc_attr( $trainifyframeworkwidget->get_field_name( $trainify_framework_widget_field_name ) ); ?>" type="text" value="<?php echo esc_attr( $trainify_framework_widget_field_value ); ?>"  data-relations="<?php echo esc_attr($trainify_framework_widget_relation_json) ?>"/>
	<?php if ( isset( $trainify_framework_widget_field_description ) ) { ?>
		<br/>
		<small><?php echo esc_html( $trainify_framework_widget_field_description ); ?></small>
	<?php } ?>
</p>