
<?php $__env->startSection('page_title'); ?>
	<h1>Welcome!</h1>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_subtitle'); ?>
	Please sign in to your account.
<?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 echo Form::open(array('url' => 'admin/users/admin-login')); ?>

			<?php echo $__env->make('admin.fields.text',array('name'=>'email','label'=>'Email','required'=>true), array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

			<?php echo $__env->make('admin.fields.password',array('name'=>'password','label'=>'Password','required'=>true), array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

			<div class="row">
				<span class="cell col1"></span>
				<span class="cell col2">
					<?php echo HTML::link('admin/password/remind','Forgot your password?',array('id'=>'password_reminder')); ?>
				</span>
			</div>

			<?php echo $__env->make('admin.fields.submit',array('label'=>'Login'), array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

		<?php echo Form::close(); ?>

	</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>