move the wrapper to the layout and not the template