@extends('backend.layouts.app') @section('content')
Role | Permissions | Operation |
---|---|---|
{{ $role->name }} | {{ str_replace(array('[',']','"'),'', $role->permissions()->pluck('name')) }} | {{-- Retrieve array of permissions associated to a role and convert to string --}}Edit {!! Form::open(['method' => 'DELETE', 'route' => ['roles.destroy', $role->id] ]) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} |