@extends('backend.layouts.app') @section('title') Danh sách quyền @endsection @section('content')
@include('backend.layouts.content-header', ['page' => 'Danh sách quyền'])
@include('backend.components.notification') {{ __('label.action.add') }}
@foreach($data as $role) @endforeach
Name Action
{{ $role->name }} @if($role->name <> "Admin") @include('backend.components.button.edit', ['route' => route('role.edit', $role->id)]) @include('backend.components.button.delete', ['route' => route('role.delete'), 'id' => $role->id]) @endif

@endsection