Refactored templates templates with bootstrap3