Simplify book form code