@extends('layouts.app', ['pageTitle' => 'Profile', 'pageSubtitle' => 'Update your finance portal profile'])
@section('content')
<div class="card"><h3 class="section-title">Profile Details</h3><form method="POST" action="{{ route('user.profile.update') }}" class="form-grid">@csrf
<div class="field"><label>Name</label><input name="name" value="{{ old('name', auth()->user()->name) }}" required></div><div class="field"><label>Email</label><input value="{{ auth()->user()->email }}" disabled></div><div class="field"><label>Phone</label><input name="phone" value="{{ old('phone', auth()->user()->phone) }}"></div><div class="field"><label>Department</label><input name="department" value="{{ old('department', auth()->user()->department) }}"></div><div class="field"><label>Position</label><input name="position" value="{{ old('position', auth()->user()->position) }}"></div><div><button class="btn" type="submit">Update Profile</button></div></form></div>
@endsection
