@extends('layouts.user') @section('title', __('user_profile.edit_password_title')) @section('page_title', __('user_profile.edit_password_title')) @section('breadcrumb', __('user_profile.edit_password_breadcrumb')) @section('content')
{{-- Header --}}
🔐 {{ __('user_profile.account_security') }}

{{ __('user_profile.edit_password_title') }}

{{ __('user_profile.edit_password_subtitle') }}

{{-- Success --}} @if(session('success'))
{{ __('user_profile.success') }}
{{ session('success') }}
@endif {{-- Errors --}} @if($errors->any())
⚠️
{{ __('user_profile.fix_following_issues') }}
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{-- Left Info Panel --}}
🔒

{{ __('user_profile.security_center') }}

{{ __('user_profile.security_center_text') }}

{{ __('user_profile.current_password_required') }}
{{ __('user_profile.current_password_required_text') }}
{{ __('user_profile.use_strong_passwords') }}
{{ __('user_profile.use_strong_passwords_text') }}
{{ __('user_profile.keep_it_private') }}
{{ __('user_profile.keep_it_private_text') }}
{{-- Form Card --}}

{{ __('user_profile.change_password') }}

{{ __('user_profile.change_password_text') }}

{{-- Account Preview --}}
@if(!empty($user->photo)) {{ $user->name }} @else {{ \Illuminate\Support\Str::upper(\Illuminate\Support\Str::substr($user->name ?? 'U', 0, 1)) }} @endif
{{ $user->name ?? __('user_profile.user') }}
{{ $user->email ?? __('user_profile.no_email') }}
@csrf
@error('current_password')
{{ $message }}
@enderror
@error('password')
{{ $message }}
@enderror
@error('password_confirmation')
{{ $message }}
@enderror
{{-- Tips --}}
{{ __('user_profile.password_tips') }}
{{ __('user_profile.password_tips_text') }}
{{ __('user_profile.cancel') }}
@endsection