@extends('layouts.app') @section('content')
{{-- {!! __('user.profile.title') !!} --}}
{{-- Change Profile Data --}}
{!! __('user.profile.title') !!}
@if(Session::has('success_profileUpdate_message')) @endif @if(Session::has('error_profileUpdate_message')) @endif
@csrf
@if( Request::ajax() ) @else @error('name') {!! $message !!} @enderror @endif
@if( Request::ajax() ) @else @error('email') {!! $message !!} @enderror @endif
@if (Auth::user()->email_verified_at == null) {{-- Send Verification Email --}}
@if(Session::has('success_verifyEmail')) @endif @if(Session::has('error_verifyEmail')) @endif
{!! __('text.sendVerifyEmail') !!}   {!! __('link.sendVerifyEmail') !!}
@endif {{-- Change Password --}}
{!! __('user.changePassword.title') !!}
@if(Session::has('success_changePassword_message')) @endif @if(Session::has('error_changePassword_message')) @endif
@csrf
@if( Request::ajax() ) @else @error('password') {!! $message !!} @enderror @endif
@if( Request::ajax() ) @else @error('new_password') {!! $message !!} @enderror @endif
@if( Request::ajax() ) @else @error('new_password_confirmation') {!! $message !!} @enderror @endif
{{-- Delete Profile --}}
@if(Session::has('success_deleteProfile_message')) @endif @if(Session::has('error_deleteProfile_message')) @endif
{!! __('user.deleteProfile.link1') !!}{!! __('user.deleteProfile.link2') !!} {!! __('user.deleteProfile.link3') !!}
@csrf
{!! __('user.deleteProfile.title') !!}
@if( Request::ajax() ) @else @error('delete') {!! $message !!} @enderror @endif
@endsection