Remove pagination class from template