@extends('layouts.admin') @section('title') ROLES @stop @section('titulo')ROLES Y PERMISOS DE USUARIO @stop @section('menu-usuarios')active open @stop @section('permisos-opcion')active open @stop {{--@section('libros-opcion')active @stop--}} @section('acciones') Registrar rol de usuario @stop @section('descripcion') @stop @section('content')
@foreach($roles as $f=>$r) @endforeach
NUMERO FECHA
REGISTRO
ROL PERMISOS ACCIONES
{{$r->id}} {{$r->created_at->format('d/m/Y H:i:s')}} {{$r->name}}
    @foreach($r->permissions as $k=>$p)
  1. {{$p->name}}
  2. @endforeach
@section('scripts') @stop @endsection