@extends('layouts.app') @section('contenido')

Editar Rol {{-- @can('localidad-create') --}} {{-- @endcan --}}

@if (count($errors) > 0)
Whoops! There were some problems with your input.

@endif
@csrf @method('PUT')
Nombre: @if($role->id == 1 OR $role->id == 2 OR $role->id == 3) @else @endif
@foreach($screenFinal as $item) @foreach($item['details'] as $detail) @endforeach @endforeach
Pantallas Ver Crear Editar Eliminar
{{ $item['name'] }} @if(in_array($detail['name'], array_column($item['details'], 'name'))) @else No @endif

-

@endsection