Refactoring tabs partial