Update (all): fix php formatting using laravel pint, fix blade using shufo

This commit is contained in:
2023-07-25 22:18:01 +08:00
parent 6adc27076d
commit 82353c1ecd
37 changed files with 536 additions and 480 deletions

View File

@@ -28,21 +28,21 @@
</tr>
</thead>
<tbody>
@foreach($users as $user)
<tr>
<td>{{ $user->name }}</td>
<td>{{ $user->email }}</td>
<td>{{ $user->created_at }}</td>
<td>{{ $user->updated_at->diffForhumans() }}</td>
</tr>
@endforeach
@foreach ($users as $user)
<tr>
<td>{{ $user->name }}</td>
<td>{{ $user->email }}</td>
<td>{{ $user->created_at }}</td>
<td>{{ $user->updated_at->diffForhumans() }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@if( $users->hasPages() )
<div class="card-footer pb-0">
{{ $users->links() }}
</div>
@if ($users->hasPages())
<div class="card-footer pb-0">
{{ $users->links() }}
</div>
@endif
</div>
</div>