<?php $__env->startSection('title'); ?>
    Login
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

    <form class="form-horizontal" role="form" method="POST" action="<?php echo e(route('admin.login.submit')); ?>">
        <?php echo e(csrf_field()); ?>



        <div class="form-group<?php echo e(( $errors->has('username') || $errors->has('status')) ? ' has-error' : ''); ?>">
            <label for="email" class="col-md-4 control-label">email</label>

            <div class="col-md-6">
                <input id="email" type="email" class="form-control" name="email" value="<?php echo e(old('email')); ?>"  autocomplete="off" required autofocus >

                <?php if($errors->has('email')): ?>
                    <span class="help-block">
                        <strong><small><?php echo e(str_replace('username', 'email', $errors->first('email'))); ?></small></strong>
                    </span>
                <?php endif; ?>
                <?php if($errors->has('status')): ?>
                    <span class="help-block">email
                        <strong><small><?php echo e($errors->first('status')); ?></small></strong>
                    </span>
                <?php endif; ?>
            </div>
        </div>

        <div class="form-group<?php echo e($errors->has('password') ? ' has-error' : ''); ?>">
            <label for="password" class="col-md-4 control-label">Lozinka</label>

            <div class="col-md-6">
                <input id="password" type="password" class="form-control" name="password" autocomplete="off"  required>

                <?php if($errors->has('password')): ?>
                    <span class="help-block">
                        <strong><small><?php echo e(str_replace('password', 'lozinka', $errors->first('password'))); ?></small></strong>
                    </span>
                <?php endif; ?>
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-6 col-md-offset-4">
                <div class="checkbox">
                    <label>
                        <input type="checkbox" name="remember" <?php echo e(old('remember') ? 'checked' : ''); ?>> Zapamti me
                    </label>
                </div>
            </div>
        </div>
        <br clear="all"/>
        <div class="form-group">
            <div class="col-md-8 col-md-offset-4">

                <button type="submit" formnovalidate  class="btn btnsbmt">
                    Uloguj se
                </button>

                 <a class="btn btn-link" href="<?php echo e(locRoute('password.request')); ?>">
                     Zaboravljena lozinka?
                 </a>
            </div>
        </div>
    </form>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('auth.layout', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>