41 lines
1.7 KiB
PHP
41 lines
1.7 KiB
PHP
|
|
@if ($message = Session::get('success', Session::get('bo.success')))
|
||
|
|
<div class="alert alert-success alert-dismissible fade show m-0 mb-3" role="alert">
|
||
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ __('Fermer') }}"></button>
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
@if ($message = Session::get('error', Session::get('bo.error')))
|
||
|
|
<div class="alert alert-danger alert-dismissible fade show m-0 mb-3" role="alert">
|
||
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ __('Fermer') }}"></button>
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
@if ($message = Session::get('warning', Session::get('bo.warning')))
|
||
|
|
<div class="alert alert-warning alert-dismissible fade show m-0 mb-3" role="alert">
|
||
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ __('Fermer') }}"></button>
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
@if ($message = Session::get('info', Session::get('bo.info')))
|
||
|
|
<div class="alert alert-info alert-dismissible fade show m-0 mb-3" role="alert">
|
||
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ __('Fermer') }}"></button>
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
@if ($errors->any())
|
||
|
|
<div class="alert alert-danger alert-dismissible fade show m-0 mb-3" role="alert">
|
||
|
|
@if ($errors->any())
|
||
|
|
<ul class="list-unstyled m-0">
|
||
|
|
@foreach ($errors->all() as $error)
|
||
|
|
<li>{{ $error }}</li>
|
||
|
|
@endforeach
|
||
|
|
</ul>
|
||
|
|
@endif
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ __('Fermer') }}"></button>
|
||
|
|
</div>
|
||
|
|
@endif
|