switched to haml for conditional css class setting ease