generates edit form for site contents