<div class="container mt-4">
    <h4><i class="bi bi-pencil-square"></i> Edit Note</h4>
    <form method="POST">
        <div class="mb-3">
            <label class="form-label">Note Content</label>
            <textarea name="note_content" class="form-control" rows="5" required><?= htmlspecialchars($note['content']) ?></textarea>
        </div>
        <button type="submit" class="btn btn-primary">💾 Save Changes</button>
        <a href="<?= BASE_URL ?>/contacts/notes/<?= $note['contact_id'] ?>" class="btn btn-secondary">Cancel</a>
    </form>
</div>
