@extends('admin.layouts.app') @php $isEdit = $user->exists; @endphp @section('title', $isEdit ? 'Kullanıcı Düzenle' : 'Yeni Kullanıcı') @section('page-title', $isEdit ? 'Kullanıcı Düzenle' : 'Yeni Kullanıcı') @section('content')
@csrf @if ($isEdit) @method('PUT') @endif
is_active ?? true) ? 'checked' : '' }} @if ($isEdit && $user->id === auth()->id()) disabled @endif> @if ($isEdit && $user->id === auth()->id())
Kendi hesabınızı pasif yapamazsınız.
@endif
İptal
@endsection