<?php
/**
 * This is the default template part for the
 * fields loop in the content-profile
 * template part.
 *
 * 
 * @version 1.1.0
 * @package IT_Exchange
 *
 * WARNING: Do not edit this file directly. To use
 * this template in a theme, copy over this file
 * to the exchange/content-profile/loops/ directory
 * located in your theme.
 */
?>

<?php do_action( 'ninja_shop_content_profile_before_fields_loop' ); ?>
<div class="ninja-shop-customer-info">
	<div class="ninja-shop-customer-info-fields">
		<?php do_action( 'ninja_shop_content_profile_begin_fields_loop' ); ?>
		<?php foreach (
			it_exchange_get_template_part_elements( 'content_profile', 'fields', array(
				'first-name',
				'last-name',
				'email',
				'nickname',
				'website',
				'password1',
				'password2'
			) ) as $field
		) : ?>
			<?php
			/**
			 * Theme and add-on devs should add code to this loop by
			 * hooking into it_exchange_get_template_part_elements filter
			 * and adding the appropriate template file to their theme or add-on
			 */
			it_exchange_get_template_part( 'content-profile/elements/' . $field );
			?>
		<?php endforeach; ?>
		<?php do_action( 'ninja_shop_content_profile_end_fields_loop' ); ?>
	</div>
</div>
<?php do_action( 'ninja_shop_content_profile_after_fields_loop' ); ?>
