@extends('layouts.main') @section('title') {{ __('Manage Role') }} @endsection @section('content')
{!! Form::model($role, ['method' => 'PATCH', 'class' => 'edit-form', 'route' => ['roles.update', $role->id]]) !!}
{!! Form::text('name', null, ['placeholder' => __('Name'), 'class' => 'form-control']) !!}
    @foreach ($groupedPermissions as $groupName=>$groupData)
  • {{ucwords(str_replace("-"," ",$groupName))}} @foreach ($groupData as $key=>$permission)
    • {{ucfirst($permission->short_name)}}
    @endforeach @endforeach
{{--
--}} {{--
--}} {{-- @foreach ($permission as $value)--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- @endforeach--}} {{--
--}} {{--
--}}
{!! Form::close() !!}
@endsection