@extends('layouts.profile') @section('content')
@component('components.panel', ['title' => 'Change Password'])
@csrf @if(session('pass_success')) @endif
@error('pass_password') {{ $message }} @enderror
@error('new_password') {{ $message }} @enderror
@error('new_confirm_password') {{ $message }} @enderror
@endcomponent
@component('components.panel', ['title' => 'Change Email'])
@csrf @if(session('email_success')) @endif
@error('email_password') {{ $message }} @enderror
@error('new_email') {{ $message }} @enderror
@error('new_confirm_email') {{ $message }} @enderror
@endcomponent
@endsection @section('javascript') @endsection