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

<div class="form-group has-feedback">
    <div class="input-group form-group {{ $errors->has('email') ? 'has-error' : '' }}">
        {{ Form::email('email', old('email'), ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.email'), 'required', 'autofocus']) }}
        <div class="input-group-append">
            <div class="btn btn-outline-secondary">
                <i class="fa fa-at"></i>
            </div>
        </div>
        {!! $errors->first('email', '<p class="text-danger"><strong>:message</strong></p>') !!}
    </div>
</div>
<div class="form-group has-feedback">
    <div class="input-group form-group {{ $errors->has('password') ? 'has-error' : '' }}">
        {{ Form::password('password', ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.password'), 'required']) }}
        <div class="input-group-append">
            <button class="btn btn-outline-secondary password-toggle" type="button" tabindex="-1">
                <i class="fa fa-eye"></i>
            </button>
        </div>
    </div>
    {!! $errors->first('password', '<p class="text-danger"><strong>:message</strong></p>') !!}
</div>
@if ($errors->any())
    <div class="form-group has-feedback">
        <p class="text-danger">
            <strong>{{ $errors->first('msg') }}</strong>
        </p>
    </div>
@endif
<div class="row">
    <div class="col-12 col-lg-6 mbs">
        <button type="submit" class="btn btn-primary btn-block btn-flat">{{ __('Se connecter') }}</button>
    </div>

    <div class="col-12 col-lg-6">
        <a href="{{ route('Shop.password.request') }}">{{ __('Mot de passe oublié ?') }}</a><br>
        <!--
            <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>
@include('load.form.password_toggle')
{!! Form::close() !!}
