@extends('layouts.master') @section('content')

Roles

{{--

Laravel 8 User Roles and Permissions Step by Step Tutorial - codeanddeploy.com

--}}
Roles
Add Role
@foreach ($roles as $key => $role) {{-- --}} @endforeach
No Name Action
{{ $key+1 }} {{ $role->name }} Show {!! Form::open(['method' => 'DELETE','route' => ['roles.destroy', $role->id],'style'=>'display:inline']) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger btn-sm']) !!} {!! Form::close() !!}
    {!! $roles->links() !!}
@endsection