@extends('client_login') @section('form') @include('partials.warn_session', ['redirectTo' => '/client/session_expired'])
{!! Former::open() ->rules(['password' => 'required']) ->addClass('form-signin') !!}

{{ trans('texts.client_login') }}


@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 {{ Former::populateField('remember', 'true') }}
    @if (! session('contact_key')) {!! Former::text('email')->placeholder(trans('texts.email'))->raw() !!} @endif {!! Former::password('password')->placeholder(trans('texts.password'))->raw() !!}
    {!! Former::hidden('remember')->raw() !!} {!! Button::success(trans('texts.login')) ->withAttributes(['id' => 'loginButton', 'class' => 'green']) ->large()->submit()->block() !!}
    {!! link_to('/client/recover_password' . (request()->account_key ? '?account_key=' . request()->account_key : ''), trans('texts.recover_password')) !!}
    {!! Former::close() !!}
    @endsection