PHP Classes

File: resources/views/user/abilities.blade.php

Recommend this page to a friend!
  Classes of Nahidul Hasan   Gentelella Laravel User Management and CRUD System   resources/views/user/abilities.blade.php   Download  
File: resources/views/user/abilities.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Gentelella Laravel User Management and CRUD System
User administration for Laravel applications
Author: By
Last change:
Date: 1 year ago
Size: 810 bytes
 

Contents

Class file image Download
<fieldset class="fieldset-border">
    <legend class="legend-border">{{ucfirst($_module)}}</legend>
    @foreach($permissions as $ability=>$permission)
        <label class="custom-control custom-checkbox">
            <input type="checkbox" {{ $disabled ? 'disabled="disabled"':"" }}
            id="{{is_int($ability)?$_module."-".$permission:$_module."-".$ability }}"
                   class="custom-control-input permit-check"
                   value="{{is_string($ability)?$permission:1}}"
                   name="permissions[{{ $_module }}][{{is_int($ability)?$permission:$ability}}]">
            <span class="custom-control-indicator"></span>
            <span class="custom-control-description">{{ucfirst(is_int($ability)?$permission:$ability)}}</span>
        </label>
    @endforeach
</fieldset>