my-idlers/resources/views/components/response-alerts.blade.php

10 lines
299 B
PHP
Raw Permalink Normal View History

@if ($message = Session::get('success'))
<div class="alert alert-success" role="alert">
<p class="my-1">{{ $message }}</p>
</div>
@elseif($message = Session::get('error'))
<div class="alert alert-danger" role="alert">
<p class="my-1">{{ $message }}</p>
</div>
@endif