{{ Form::open(['url' => route('role.permission.store'), 'method' => 'POST']) }} @foreach ($roles as $role) @endforeach @foreach ($permissions as $permission) @foreach ($roles as $role) @endforeach @endforeach
{{ $role->title }}
{{--
@csrf @method('DELETE')
--}}
{{ $permission->title }}
{{--
@csrf @method('DELETE')
--}}
hasPermissionTo($permission) ? 'checked' : '' }}>
{{ Form::submit(__('global-message.save'), ['class' => 'btn btn-md btn-primary']) }}
{{ Form::close() }}