Didn't think it made sense to apply DRY to these 3 html elements. There doesn't seem to be a natural abstraction and trying to consolidate these elements into one representation seemed like it was just make the code more complicated for little to no gain.