Updating pagination haml to work with BS 2 and 3