@extends('layouts.app') @section('title', $role->name . ' - Rol Düzenle') @section('page-title', $role->name . ' - Rol Düzenle') @section('content')
Rollere Dön
@csrf @method('PUT')
@error('name')

{{ $message }}

@enderror
is_system ? 'readonly' : '' }} placeholder="Otomatik oluşturulur" class="block w-full px-4 py-2.5 text-sm border border-gray-300 dark:border-gray-600 rounded-lg {{ $role->is_system ? 'bg-gray-100 dark:bg-gray-700' : 'bg-white dark:bg-gray-800' }} text-gray-900 dark:text-gray-100 shadow-sm placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:focus:ring-indigo-400 focus:border-indigo-500 dark:focus:border-indigo-400 transition-all duration-200"> @if($role->is_system)

Sistem rolleri için slug değiştirilemez

@endif @error('slug')

{{ $message }}

@enderror
@error('description')

{{ $message }}

@enderror
@error('color')

{{ $message }}

@enderror
@error('order')

{{ $message }}

@enderror
@foreach($permissions as $group => $groupPermissions)

{{ ucfirst($group ?? 'Diğer') }}

@foreach($groupPermissions as $permission) @endforeach
@endforeach
İptal
@endsection