@extends('layouts.master') @section('content')

{{ $role->display_name }} {{ __('Permission management') }}

{!! Form::model($permissions_grouping, [ 'method' => 'PATCH', 'url' => ['roles/update', $role->external_id], ]) !!} @foreach($permissions_grouping as $permissions)
@if($permissions->first)

{{ucfirst(__($permissions->first()->grouping))}}

@endif
@foreach($permissions as $permission)