@extends('login') @section('form') @include('partials.warn_session', ['redirectTo' => '/client/sessionexpired'])
{!! Former::open('client/login') ->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') }}
    {!! 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', trans('texts.recover_password')) !!}
    {!! Former::close() !!}
    @endsection