[FIX] 遷移機台授權為獨立模組:修復變數命名、補齊多語系並強化多租戶數據隔離
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 54s
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 54s
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
<div class="space-y-2">
|
||||
<label class="text-[11px] font-black text-slate-400 uppercase tracking-widest pl-1">{{ __('Role Name') }}</label>
|
||||
<input type="text" name="name" value="{{ old('name', $role->name) }}" required
|
||||
class="luxury-input w-full @error('name') border-rose-500 @enderror"
|
||||
class="luxury-input w-full @error('name') border-rose-500 @enderror @if($role->name === 'super-admin') bg-slate-50 dark:bg-slate-800/50 cursor-not-allowed @endif"
|
||||
placeholder="{{ __('Enter role name') }}"
|
||||
{{ $role->name === 'super-admin' ? 'readonly' : '' }}>
|
||||
@error('name')
|
||||
|
||||
Reference in New Issue
Block a user