@extends('admin.layouts.app') @section('content')

{{ $title }}

@can('create '.$menu) Tambah Data @endcan
@foreach ($datas as $data) @endforeach
No Nama Role Aksi
{{ $loop->iteration }} {{ $data->name }}
{{csrf_field()}} @can('edit '.$menu) Edit @endcan @can('delete '.$menu) @if ($data->name != "Admin") @endif @endcan
@endsection