@php $tests = Auth::user()->profil->habilitations; $droits = array(); foreach ($tests as $key => $value) { $droits[$key] = $value->habilitation->code; } if ($errors->any()) { foreach ($errors->all() as $key => $error) { Toastr::error($error, "Erreur : N°$key"); } } @endphp @yield('title') {{ config('app.name', 'SMS') }} @yield('header') {{-- --}}
@yield('preload')
@yield('content')
@yield('footer') {!! Toastr::message() !!}