trim lines in erb template