PHP Classes

File: resources/views/central/backend/role/includes/children.blade.php

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin   Laravel SAAS Boilerplate   resources/views/central/backend/role/includes/children.blade.php   Download  
File: resources/views/central/backend/role/includes/children.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel SAAS Boilerplate
Base application to develop software as a service
Author: By
Last change:
Date: 1 year ago
Size: 713 bytes


Class file image Download
<ul class="list-unstyled ml-4">
@foreach($children as $permission)
        <input type="checkbox" name="permissions[]" class="h-5 w-5 text-indigo-600"
               {{ in_array($permission->id, $usedPermissions ?? [], true) ? 'checked' : '' }} value="{{ $permission->id }}" id="{{ $permission->id }}"
        <label for="{{ $permission->id }}" class="inline-flex items-center mt-3">
            <span class="ml-2 text-gray-700">{{ $permission->description ?? $permission->name }}</span>
            @include('central.backend.role.includes.children', ['children' => $permission->children])