		@if ($message = Session::get('success'))
			<div class="alert alert-success alert-dismissible" role="alert">
				<button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button>
				<div class="alert-message">
					<strong>{{ $message }}</strong> 
				</div>
			</div>

			<script>
				sweetAlert("Success", "{{ Session::get("success") }}", "success");
			</script>
		@endif


		@if ($errors->any())
			<div class="alert alert-danger alert-dismissible" role="alert">
				<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
				<div class="alert-message">
					<strong>
						<ul>
							@foreach ($errors->all() as $error)
								<li>{{ $error }}</li>
							@endforeach
						</ul>
					</strong>
				</div>
			</div>

			<script>
				sweetAlert("Error", "{!! implode('\n', $errors->all()) !!}", "error");
			</script>
		@endif

		@if ($message = Session::get('error'))
			<div class="alert alert-danger alert-dismissible" role="alert">
				<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
				<div class="alert-message">
					<strong>{{ $message }}</strong>
				</div>
			</div>

			<script>
				sweetAlert("Error", "{{ Session::get('error') }}", "error");
			</script>
		@endif

