Chop the onion up fine and fry it brown in the butter. Whip up the eggs and mix both ingredients with the breadcrumbs; add the mashed potatoes, herbs, and seasoning, and mix all well together. Form into fritters, dredge with flour, and fry them a nice brown. Serve with vegetables, potatoes, and sauce.