id)) action="{{ route('userswithRoles.update', ['id' => $user->id]) }}" @else action="{{ route('userswithRoles.store') }}" @endif --}} action="{{ route('userswithRoles.draftstore') }}" > @csrf @isset($user->id) {{ method_field('PUT') }} @endisset
Basic Details

{{--
id) ? '' : 'required'}} value="" minlength="8" maxlength="16"> {{ !empty($user->id) ? 'Enter password only if you want to modify it for user.' : ''}} {{ empty($user->id) ? 'Enter password of length 8 to 16 characters.' : ''}}
--}}
Current Password : {{ !empty($user->id) ? $user->password_view : '' }} id) ? '' : 'required'}} value="{{ !empty($user->id) ? $user->password_view : '' }}" minlength="8" maxlength="16"> {{ !empty($user->id) ? 'Enter password only if you want to modify it for user.' : ''}} {{ empty($user->id) ? 'Enter password of length 8 to 16 characters.' : ''}}
Permissions

@foreach($moduleListing as $key => $menuItems) @foreach($menuItems as $menuItemList) @foreach($menuItemList['children'] as $menu) @endforeach @endforeach @endforeach
{{ $key }} {{ $menuItemList['label'] }} @php $allChecked = []; if(!empty($permissions)): foreach($menuItemList['children'] as $menu): if(in_array($menu['route'], $permissions)) { $allChecked[] = $menu['route']; } endforeach; $allC = sizeof($menuItemList['children']) == sizeof($allChecked) ? true : false; else: $allC = false; endif; @endphp @if($allC == true) @else @endif
Cancel
@section('extraJs') @endsection