created partial form to remove duplicate html