Create shared form for options create and edit