<?php $this->layout('layouts/auth'); ?>

<?php _message(); ?>
<div class="card card-md">
	<div class="card-body">
		<h2 class="h2 text-center mb-1"><?php e__('Action Required!') ?></h2>
		<p class="text-muted mb-5 text-center"><?php e__('Set your email to access your account.') ?></p>
		<form data-toggle="form-submit-with-loader" action="<?php echo url('auth.email') ?>" method="post">
			<?php _csrf(); ?>
			<div class="mb-3">
				<label for="email" class="form-label"><?php e__('Email') ?></label>
				<input type="email" name="email" id="email" class="form-control" required value="<?php _old('email') ?>">
			</div>
			<div class="form-footer mt-4">
				<button type="submit" class="btn btn-primary w-100">
					<?php e__('Save') ?>
				</button>
			</div>
		</form>
	</div>
</div>