@extends('layouts.app') @section('title', 'All Roles') {{-- custom css --}} @push('css') @endpush {{-- page connect --}} @section('content') Manage Roles New Role Role Title Action @foreach ($roles as $role) {{-- show only role with _id of the auth user --}} {{ (strpos($role['name'], '_') !== false) ? strstr($role['name'], '_', true) : $role['name']}} @endforeach @endsection {{-- custom js --}} @push('js') @endpush