Move active matches html block to partial