place redundant form code into a partial page