PATH:
home
/
lab2454c
/
healthvalidate.com
/
resources
/
views
/
validation
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/css/iziToast.css" integrity="sha512-DIW4FkYTOxjCqRt7oS9BFO+nVOwDL4bzukDyDtMO7crjUZhwpyrWBFroq+IqRe6VnJkTpRAS6nhDvf0w+wHmxg==" crossorigin="anonymous" referrerpolicy="no-referrer" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/js/iziToast.min.js" integrity="sha512-Zq9o+E00xhhR/7vJ49mxFNJ0KQw1E1TMWkPTxrWcnpfEFDEXgUiwJHIKit93EW/XxE31HSI5GEOW06G6BF1AtA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> @if(session()->has('notify')) @foreach(session('notify') as $msg) <script> "use strict"; iziToast.{{ $msg[0] }}({message:"{{ __($msg[1]) }}", position: "topRight"}); </script> @endforeach @endif @if ($errors->any()) @php $collection = collect($errors->all()); $errors = $collection->unique(); @endphp <script> "use strict"; @foreach ($errors as $error) iziToast.error({ message: '{{ __($error) }}', position: "topRight" }); @endforeach </script> @endif <script> "use strict"; function notify(status,message) { iziToast[status]({ message: message, position: "topRight" }); } </script>
[+]
..
[-] toastMessage.blade.php
[edit]
[-] message.blade.php
[edit]
[-] flashmessage.blade.php
[edit]