Before any gift or devise specified in section 17-961 may be accepted, such gift or devise shall be approved by the city council or village board of trustees.