81 lines
3.5 KiB
PHP
81 lines
3.5 KiB
PHP
|
|
@if ($message = Session::get('success'))
|
||
|
|
<div class="row justify-content-center">
|
||
|
|
<div class="col col-md-10 mt-3">
|
||
|
|
<div class="alert alert-success d-flex align-items-center alert-dismissible fade show" role="alert">
|
||
|
|
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Success:"><use xlink:href="#check-circle-fill"/></svg>
|
||
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
@if ($message = Session::get('error'))
|
||
|
|
<div class="row justify-content-center">
|
||
|
|
<div class="col col-md-10 mt-3">
|
||
|
|
<div class="alert alert-danger d-flex align-items-center alert-dismissible fade show" role="alert">
|
||
|
|
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Danger:"><use xlink:href="#exclamation-triangle-fill"/></svg>
|
||
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
|
||
|
|
@if ($message = Session::get('warning'))
|
||
|
|
<div class="row justify-content-center">
|
||
|
|
<div class="col col-md-10 mt-3">
|
||
|
|
<div class="alert alert-warning d-flex align-items-center alert-dismissible fade show" role="alert">
|
||
|
|
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Warning:"><use xlink:href="#exclamation-triangle-fill"/></svg>
|
||
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
|
||
|
|
@if ($message = Session::get('info'))
|
||
|
|
<div class="row justify-content-center">
|
||
|
|
<div class="col col-md-10 mt-3">
|
||
|
|
<div class="alert alert-info d-flex align-items-center alert-dismissible fade show" role="alert">
|
||
|
|
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Info:"><use xlink:href="#info-fill"/></svg>
|
||
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
@if ($message = Session::get('message'))
|
||
|
|
<div class="row justify-content-center">
|
||
|
|
<div class="col col-md-10 mt-3">
|
||
|
|
<div class="alert alert-info d-flex align-items-center alert-dismissible fade show" role="alert">
|
||
|
|
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Info:"><use xlink:href="#info-fill"/></svg>
|
||
|
|
<strong>{!! nl2br(e($message)) !!}</strong>
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
|
||
|
|
@if ($errors->any())
|
||
|
|
<div class="row justify-content-center">
|
||
|
|
<div class="col col-md-10 mt-3">
|
||
|
|
<div class="alert alert-danger d-flex align-items-center alert-dismissible fade show" role="alert">
|
||
|
|
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Danger:"><use xlink:href="#exclamation-triangle-fill"/></svg>
|
||
|
|
@if ($errors->any())
|
||
|
|
<ul class="list-unstyled">
|
||
|
|
@foreach ($errors->all() as $error)
|
||
|
|
<li>{{ $error }}</li>
|
||
|
|
@endforeach
|
||
|
|
</ul>
|
||
|
|
@endif
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
@endif
|