diff --git a/stubs/resources/views/filament/pages/edit-profile.blade.php b/stubs/resources/views/filament/pages/edit-profile.blade.php index 050f02b..46a33ef 100644 --- a/stubs/resources/views/filament/pages/edit-profile.blade.php +++ b/stubs/resources/views/filament/pages/edit-profile.blade.php @@ -1,7 +1,35 @@ - @livewire(Laravel\Jetstream\Http\Livewire\UpdateProfileInformationForm::class) - @livewire(Laravel\Jetstream\Http\Livewire\UpdatePasswordForm::class) - @livewire(Laravel\Jetstream\Http\Livewire\TwoFactorAuthenticationForm::class) - @livewire(Laravel\Jetstream\Http\Livewire\LogoutOtherBrowserSessionsForm::class) - @livewire(Laravel\Jetstream\Http\Livewire\DeleteUserForm::class) + @if (Laravel\Fortify\Features::canUpdateProfileInformation()) + @livewire(Laravel\Jetstream\Http\Livewire\UpdateProfileInformationForm::class) + + + @endif + + @if (Laravel\Fortify\Features::enabled(Laravel\Fortify\Features::updatePasswords())) +
+ @livewire(Laravel\Jetstream\Http\Livewire\UpdatePasswordForm::class) +
+ + + @endif + + @if (Laravel\Fortify\Features::canManageTwoFactorAuthentication()) +
+ @livewire(Laravel\Jetstream\Http\Livewire\TwoFactorAuthenticationForm::class) +
+ + + @endif + +
+ @livewire(Laravel\Jetstream\Http\Livewire\LogoutOtherBrowserSessionsForm::class) +
+ + @if (Laravel\Jetstream\Jetstream::hasAccountDeletionFeatures()) + + +
+ @livewire(Laravel\Jetstream\Http\Livewire\DeleteUserForm::class) +
+ @endif