Move the content_for to surround the if statement so that the partials render in the styleguide