
<?php $__env->startSection('page_title'); ?>
	<h1>Reset password</h1>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_subtitle'); ?>
	Please provide your email address to send the password reset email.
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_content'); ?>

	<div class="table">

		<?php if ($errors->count() > 0): ?>
			<div class='err'><?php echo $errors->first(); ?></div>
		<?php endif; ?>

		<?php if (Session::has('error')): ?>
			<div class='err'><?php echo trans(Session::get('reason')); ?></div>
		<?php elseif (Session::has('success')): ?>
			<div>An e-mail with the password reset has been sent.</div>
		<?php endif; ?>

		<?php echo Form::open(array('url' => 'admin/password/remind')); ?>

			<div class="row">
				<span class="cell col1"></span>
				<span class="cell col2">
					<?php echo HTML::link('admin/login','< Back to Login'); ?>
				</span>
			</div>

			<div class="row">
				<span class="cell col1 <?php if ($errors->has('email')): ?>err-label<?php endif; ?>"><?php echo Form::label('email', 'Email'); ?> <span class="req">*</span></span>
				<span class="cell col2">
					<?php echo Form::text('email'); ?>
				</span>
			</div>

			<div class="row">
				<span class="cell col1">&nbsp;</span>
				<span class="cell col2">
					<?php echo Form::submit('Submit', array('class' => 'image_button small right')); ?>
				</span>
			</div>
		<?php echo Form::close(); ?>

	</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>