<?php

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

?>

<div id="<?php echo esc_html( $current_tab ); ?>" class="prodigy_settings__wrapper">
	<form action="#" method="post" class="form" id="<?php echo esc_html( $current_tab ); ?>-form">
		<?php
		$form_field = new Prodigy\Admin\Prodigy_Admin_Form_Field( array( 'wrap' => true ) );
		foreach ( $fields as $field ) {
			echo wp_kses( $form_field->display_field( $field ), \Prodigy\Includes\Helpers\Prodigy_Formatting::get_allowed_html() );
		}
		?>
		<?php wp_nonce_field( 'admin-settings' ); ?>
		<button type="submit" class="button button-primary">
			<?php esc_html_e( 'Save Changes', 'prodigy-commerce' ); ?>
		</button>
	</form>
</div>



