Charge density wave transitions in a local moment magnet: Er_5Ir_4Si_10