<?php $__env->startSection('content'); ?>
    <?php if(isset($errors) && count($errors) > 0): ?>
        <?php echo form_errors($errors); ?>

    <?php endif; ?>
    <section class="login-form">
        <?php echo Form::open(['url' => '/login']); ?>

        <div class="form-group">
            <?php echo Form::label('email', trans('application.email_or_username')); ?>

            <?php echo Form::input('text','login', null, ['class'  =>"form-control", 'required'=>'required', 'placeholder'=>"Email or username"]); ?>

        </div>
        <div class="form-group">
            <?php echo Form::label('password', trans('application.password')); ?>

            <?php echo Form::password('password', ['class'=>"form-control", 'placeholder'=>"password", 'required']); ?>

        </div>
        <div class="form-group">
            <?php echo Form::Submit('Login', ['class'=>"btn btn-primary btn-sm form-control"]); ?>

        </div>
        <?php echo Form::close(); ?>

    </section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('default', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>