@extends('public.header') @section('head') @parent @endsection @section('body')
@include('partials.warn_session', ['redirectTo' => '/client/sessionexpired']) {!! 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() !!}

@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::close() !!}
    @endsection