@include('partials.warn_session', ['redirectTo' => '/client/login'])
{!! Former::open('client/login')
->rules(['password' => 'required'])
->addClass('form-signin') !!}
{{ Former::populateField('remember', 'true') }}
{!! Former::password('password')->placeholder(trans('texts.password'))->raw() !!}
{!! Former::hidden('remember')->raw() !!}
{!! Button::success(trans('texts.login'))
->withAttributes(['id' => 'loginButton'])
->large()->submit()->block() !!}
{!! link_to('/client/forgot', trans('texts.forgot_password')) !!}
@if (count($errors->all()))
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@if (Session::has('warning'))
{{ Session::get('warning') }}
@endif
@if (Session::has('message'))
{{ Session::get('message') }}
@endif
@if (Session::has('error'))
{{ Session::get('error') }}
@endif