-
-
Save uno-de-piera/bef309cf86dcc9154cf6e359dcdaa8b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.app') | |
@section('title', 'Listado Usuarios') | |
@section('content') | |
<div class="container"> | |
<div class="row"> | |
<table class="table table-bordered"> | |
<thead> | |
<tr> | |
<th>Id</th> | |
<th>Name</th> | |
<th>Email</th> | |
</tr> | |
</thead> | |
<tbody> | |
@forelse($users as $user) | |
<tr> | |
<td>{{ $user->id }}</td> | |
<td>{{ $user->name }}</td> | |
<td>{{ $user->email }}</td> | |
<td> | |
<a class="edit" href="/users/{{$user->id}}"> | |
Detail | |
</a> | |
</td> | |
</tr> | |
@empty | |
<tr> | |
<td colspan="3">No hay usuarios</td> | |
</tr> | |
@endforelse | |
</tbody> | |
</table> | |
</div> | |
</div> | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment