@if (session()->has('alert')) @slot('type', session('alert')['type']) @slot('msg', session('alert')['msg']) @endif @if ($errors->any())

The given data was invalid.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- form --}}
Test Message
@if (!session()->has('selectedDevice') || !session()->has('selectedDevice'))
  • Please select a device and a message to test
@else
@csrf
{{-- --}}
{{-- button --}}
@endif
{{-- end form --}}