Add bootstrap classes to template lists