<?php
/**
 * @package    VP Advanced User
 * @author     Abhishek Das <info@virtueplanet.com>
 * @copyright  Copyright (C) 2012-2019 VirtuePlanet Services LLP. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 * @link       https://www.virtueplanet.com
 */

defined('_JEXEC') or die;

JHtml::_('behavior.keepalive');
JHtml::_('behavior.formvalidator');

JHtml::_('vpadvanceduser.stylesheet', 'com_vpadvanceduser/general.css', array(), true);
?>
<div class="vp-wrapper vp-resend-page<?php echo $this->pageclass_sfx?>">
	<div class="vp-inner-wrapper">
		<?php if ($this->params->get('show_page_heading')) : ?>
			<h3><?php echo $this->escape($this->params->get('page_heading')) ?></h3>
		<?php endif; ?>
		<form action="<?php echo JRoute::_('index.php?option=com_vpadvanceduser&task=user.resend'); ?>" method="post" class="form-validate">
			<?php foreach ($this->form->getFieldsets() as $fieldset) : ?>
			<fieldset>
				<p><?php echo JText::_($fieldset->label); ?></p>
				<?php foreach ($this->form->getFieldset($fieldset->name) as $name => $field) : ?>
					<div class="vp-form-group">
						<?php echo $field->label; ?>
						<?php echo $field->input; ?>
					</div>
				<?php endforeach; ?>
			</fieldset>
			<?php endforeach; ?>
			<div class="vp-form-submission">
				<button type="submit" class="vp-btn vp-btn-primary validate"><?php echo JText::_('JSUBMIT'); ?></button>
			</div>
			<input type="hidden" name="task" value="user.resend" />
			<?php echo JHtml::_('form.token'); ?>
		</form>
	</div>
</div>