Add class to detail_function.html