@extends('layout.layout') {{-- Content --}} @section('content') @include('custom::component.reply-btn', ['url' => route('admin.user.index')])
帳號資料
@include('user::component.user-data', ['user' => $user,'roles' => $roles])
@if ($locked) 解鎖登入鎖定 @endif 編輯 @if($user->id != Auth::user()->id)
{{csrf_field()}} @if($user->status) @else @endif
@include('component.show.delete', ['delete_route' => route('admin.user.destroy', $user->id),'method' => 'delete']) @endif
@if(array_key_exists($user->role,$custom_capabilities))
權限資料
@if($user->custom_capabilities()->count()>0) @foreach($user->custom_capabilities as $custom_capability) @endforeach
{{$custom_capabilities[$user->role][$custom_capability->capability]}}
@else

尚未設定

@endif
@endif
@endsection {{-- Script --}} @push('scripts') @endpush