move event markup into a partial and replace css background with html image