Generalized Euler classes, differential forms and commutative DGAs