@if ($raw = Session::get('success', Session::get('bo.success')))
@php $msgs = is_array($raw) ? $raw : [$raw]; @endphp
@if (count($msgs) === 1)
{!! nl2br(e($msgs[0])) !!}
@else
@foreach ($msgs as $m)- {!! nl2br(e($m)) !!}
@endforeach
@endif
@endif
@if ($raw = Session::get('error', Session::get('bo.error')))
@php $msgs = is_array($raw) ? $raw : [$raw]; @endphp
@if (count($msgs) === 1)
{!! nl2br(e($msgs[0])) !!}
@else
@foreach ($msgs as $m)- {!! nl2br(e($m)) !!}
@endforeach
@endif
@endif
@if ($raw = Session::get('warning', Session::get('bo.warning')))
@php $msgs = is_array($raw) ? $raw : [$raw]; @endphp
@if (count($msgs) === 1)
{!! nl2br(e($msgs[0])) !!}
@else
@foreach ($msgs as $m)- {!! nl2br(e($m)) !!}
@endforeach
@endif
@endif
@if ($raw = Session::get('info', Session::get('bo.info')))
@php $msgs = is_array($raw) ? $raw : [$raw]; @endphp
@if (count($msgs) === 1)
{!! nl2br(e($msgs[0])) !!}
@else
@foreach ($msgs as $m)- {!! nl2br(e($m)) !!}
@endforeach
@endif
@endif
@if ($errors->any())
{{ __('Error list') }} :
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif