@extends('admin.layout.index') @push('css-head') @endpush @section('content')
Name: {{ $role->name }}
Permissions:
    @foreach($permissions as $key=>$row) @if(count($row['childs']) > 0)
  • {{ $row['parent']->display_name }}
    • @foreach($row['childs'] as $child)
    • {{$child->display_name}}
    • @endforeach
    @else
  • {{ $row['parent']->display_name }}
  • @endif @endforeach
Created at: {{date('F j, y h:i a', strtotime($role->created_at))}}
@endsection @push('scripts') @endpush