Skip to content

Instantly share code, notes, and snippets.

View Unicsoft01's full-sized avatar

Yakub Muhammed Unicsoft01

View GitHub Profile
@Unicsoft01
Unicsoft01 / notifications.blade.php
Created November 24, 2022 04:23 — forked from james2doyle/notifications.blade.php
Notification template for Sessions in Laravel. Assumes bootstrap and animate.css.
<div class="container">
<div class="row">
@if ($message = session()->get('success'))
<div class="animated fadeIn alert alert-success alert-dismissable">
<button type="button" class="close" aria-label="Close" data-dismiss="alert" aria-hidden="true">&times;</button>
<strong>Success:</strong> {!! $message !!}
</div>
{{ session()->forget('success') }}
@endif
@if ($message = session()->get('error'))