<!-- Sudah di modifikasi untuk Edit,Lihat,Hapus -->
<table class="table table-responsive table-hover table-bordered default">
<colgroup>
<col class="col-xs-1">
<col class="col-xs-7">
</colgroup>
<thead>
<tr>
<th><code>#</code></th>
<th>Name</th>
<th>Guard Name</th>
<th>Desc</th>
<th style="text-align: center">Aksi</th>
</tr>
</thead>
<tbody>
@php
$no = 1;
@endphp
@foreach($roles as $roles)
<tr>
<td>{!! $no++ !!}</td>
<td>{!! $roles->name !!}</td>
<td>{!! $roles->guard_name !!}</td>
<td>{!! $roles->desc !!}</td>
<td>
{!! Form::open(['route' => ['roles.destroy', $roles->id], 'method' => 'delete']) !!}
<div class="btn-group" role="group" aria-label="Basic example">
<a href="{!! route('roles.show', [$roles->id]) !!}" class="btn btn-sm btn-outline-success"><i class="ft ft-eye"></i></a>
<a href="{!! route('roles.edit', [$roles->id]) !!}" class="btn btn-sm btn-outline-warning"><i class="ft ft-edit"></i></a>
{!! Form::button('<i class="ft ft-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-sm btn-outline-danger', 'onclick' => "return confirm('Are you sure?')"]) !!}
</div>
{!! Form::close() !!}
</td>
</tr>
@endforeach
</tbody>
</table>
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]