Move some elements into partials

In order to preserve the shape of govuk_template.