@extends('backend.includes.panel') @section('page_css') @stop @section('page_title','Feature Access') @section('inner_page_link') @stop @section('main_content')
{{ Form::open(['route' => 'feature_access.store','class'=>'form-horizontal form-material','data-parsley-validate'=>'','id'=>'module_acess_form','method'=>'POST','autocomplete'=>'off']) }}

System Feature's Access

Details of Access To System's Features
@if(isset($errors) && $errors->first('user_id')) {{ $errors->first('user_id') }} @endif
@if(isset($modules) && !empty($modules)) @foreach($modules as $key => $module) @if(!empty($module->subModules) && count($module->subModules) > 0 ) @foreach($module->subModules as $innerKey => $submodule) @endforeach @endif @endforeach @endif
Feature Tag
{{ Form::checkbox('module[]',$module->id,null,['data-on-color'=>'info','data-off-color'=>'danger','class'=>'access_toggle '.(!empty($module->subModules) && count($module->subModules) > 0 ? 'toggle_submodules' : '' )]) }} {{ $module->display_name }} {{ $module->name }}
{{ Form::checkbox('module[]',$submodule->id,null,['data-on-color'=>'info','data-off-color'=>'danger','class'=>'access_toggle toggle_submodules_access']) }} {{ $submodule->display_name }} {{ $submodule->name }}
{{ Form::close() }}
@stop @section('page_script') @stop