@extends('layouts.master') @section('page_title', 'Role Details') @section('title', 'Role Edit') @section('main_item', 'Role') @section('sub_item', 'Role Edit') @section('content')
Edit Role
@method('PUT') @csrf

@if(count($permissionlabels) > 0) @foreach($permissionlabels as $permissionlabel)

{{ $permissionlabel->label }}

@if(count($permissions[$permissionlabel->id]) > 0) @foreach($permissions[$permissionlabel->id] as $permission)
@endforeach @else

permissions for {{ $permissionlabel->label }} not added yet!

@endif

@endforeach @else

No permissions added yet!

@endif
@endsection @section('scripts') @endsection