Test 2 - get data

This commit is contained in:
PovilasKorop
2021-11-16 07:57:23 +02:00
parent 37db8803e2
commit 065d5dc4fd
5 changed files with 75 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<table>
<thead>
<tr>
<th>Name</th>
<th>Email</th>
</tr>
</thead>
<tbody>
@foreach ($users as $user)
<tr>
<td>{{ $loop->iteration }}. {{ $user->name }}</td>
<td>{{ $user->email }}</td>
</tr>
@endforeach
</tbody>
</table>