@extends('admin.layouts.app') @section('content')
@if (count($errors) > 0)
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
Name:
{{ $role->name }}
Permissions:
@if(!empty($rolePermissions)) @foreach($rolePermissions as $v)
{{ $v->name }},
@endforeach @endif
@endsection