Skip to content

Commit

Permalink
Use phase banner macro in header
Browse files Browse the repository at this point in the history
  • Loading branch information
NickColley committed Jan 12, 2018
1 parent c1b8af7 commit 2e45fb5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions views/partials/_header.njk
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
{# </div> #}
</header>

<div class="govuk-c-phase-banner govuk-!-pl-r3 govuk-!-pr-r3">
<p class="govuk-c-phase-banner__content"><strong class="govuk-c-tag govuk-c-phase-banner__content__tag ">
beta
</strong>
<span class="govuk-c-phase-banner__text">
This is a new service – your <a href="/get-in-touch">feedback</a> will help us to improve it.
</span>
</p>
</div>
{% from "phase-banner/macro.njk" import govukPhaseBanner %}

{{ govukPhaseBanner({
"tag": {
"text": "beta"
},
"classes": "govuk-!-pl-r3 govuk-!-pr-r3",
"html": "This is a new service – your <a href=\"/get-in-touch\">feedback</a> will help us to improve it."
}) }}

0 comments on commit 2e45fb5

Please sign in to comment.