Since language switching is now available in the header for all users, the separate language setting section in the profile page is redundant. Changes: - Remove update-locale-form include from profile/edit.blade.php - Delete profile/partials/update-locale-form.blade.php Users can now change language using the header dropdown instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
984 B
PHP
30 lines
984 B
PHP
<x-app-layout>
|
|
<x-slot name="header">
|
|
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
|
|
{{ __('messages.profile.title') }}
|
|
</h2>
|
|
</x-slot>
|
|
|
|
<div class="py-12">
|
|
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8 space-y-6">
|
|
<div class="p-4 sm:p-8 bg-white shadow sm:rounded-lg">
|
|
<div class="max-w-xl">
|
|
@include('profile.partials.update-profile-information-form')
|
|
</div>
|
|
</div>
|
|
|
|
<div class="p-4 sm:p-8 bg-white shadow sm:rounded-lg">
|
|
<div class="max-w-xl">
|
|
@include('profile.partials.update-password-form')
|
|
</div>
|
|
</div>
|
|
|
|
<div class="p-4 sm:p-8 bg-white shadow sm:rounded-lg">
|
|
<div class="max-w-xl">
|
|
@include('profile.partials.delete-user-form')
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</x-app-layout>
|