Partial rewrite of edit posts page