2023-03-23 12:25:56 +01:00
|
|
|
<h1>Device List</h1>
|
|
|
|
@unless(count($devices) == 0)
|
2023-03-23 21:50:31 +01:00
|
|
|
@foreach ($devices as $device)
|
|
|
|
<h2>
|
|
|
|
<a href="/devices/{{ $device['device_id'] }}">{{$device['title']}}</<a>
|
|
|
|
</h2>
|
|
|
|
@endforeach
|
2023-03-23 12:25:56 +01:00
|
|
|
@else
|
|
|
|
<p>No devices</p>
|
|
|
|
@endunless
|