Slice the onion an sauté in a pan with olive oil
Finely slice silverbeet and add to the pan to cook until just tender
Allow to cool
Unroll flaky pastry and cut it in half
Mix chopped herbs, ricotta and feta through
Spoon over on side of the flaky pastry
Place the other half over the top and fold over sides to secure the filling
Brush with egg wash
Bake for 30 to 40 minutes until golden brown