{!! Form::open(['route' => 'boilerplate.login', 'method' => 'post', 'autocomplete'=> 'off']) !!}

    <div class="form-group has-feedback">
        <div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
            {{ Form::email('email', old('email'), ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.email'), 'required', 'autofocus']) }}
            <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
            {!! $errors->first('email','<p class="text-danger"><strong>:message</strong></p>') !!}
        </div>
    </div>
    <div class="form-group has-feedback">
        <div class="form-group {{ $errors->has('password') ? 'has-error' : '' }}">
            {{ Form::password('password', ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.password')]) }}
            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
            {!! $errors->first('password','<p class="text-danger"><strong>:message</strong></p>') !!}
        </div>
    </div>
    <div class="row">
        <div class="col-12 col-lg-8">
            <div class="checkbox icheck">
                <label style="padding-left: 0">
                    <input type="checkbox" name="remember" class="icheck" {{ old('remember') ? 'checked' : '' }}>
                    {{ __('boilerplate::auth.login.rememberme') }}
                </label>
            </div>
        </div>
        <div class="col-12 col-lg-4 mbs">
            <button type="submit" class="btn btn-primary btn-block btn-flat">{{ __('boilerplate::auth.login.signin') }}</button>
        </div>
    </div>
{!! Form::close() !!}

<a href="{{ route('boilerplate.password.request') }}">{{ __('boilerplate::auth.login.forgotpassword') }}</a><br>
@if(config('boilerplate.auth.register'))
    <a href="{{ route('boilerplate.register') }}" class="text-center">{{ __('boilerplate::auth.login.register') }}</a>
@endif
