Lightly grease a casserole dish, spread with puff pastry and pre-bake at 200 °C for 10 min.
In the meantime, fry ham and diced onions in a frying pan until translucent with a little fat.
Mix crème fraîche, whipped cream and 1 egg, season with salt, season with pepper and add to the onions, warm up very briefly.
The amount on the puff pastry form, bake at about 200 °C repeatedly for 15-20 min. (Can be baked just as well with cheese) **.
Tip: Always use an aromatic ham, it gives your dish a wonderful touch!