Use partials to refactor html