@extends('layouts.admin') @section('page-title') {{__('Manage Role')}} @endsection @push('script-page') @endpush @section('breadcrumb') @endsection @section('action-btn')
@endsection @section('content')
@foreach ($roles as $role) @if($role->name != 'client') @endif @endforeach
{{__('Role')}} {{__('Permissions')}} {{__('Action')}}
{{ $role->name }} @for($j=0;$jpermissions()->pluck('name'));$j++) {{$role->permissions()->pluck('name')[$j]}} @endfor @can('edit role') @endcan @can('delete role')
{!! Form::open(['method' => 'DELETE', 'route' => ['roles.destroy', $role->id],'id'=>'delete-form-'.$role->id]) !!} {!! Form::close() !!}
@endcan
@endsection