diff --git a/app/components/radios/inline.njk b/app/components/radios/inline.njk index 13a61a638..ad1045a4e 100644 --- a/app/components/radios/inline.njk +++ b/app/components/radios/inline.njk @@ -11,7 +11,7 @@
{{ radios({ - "idPrefix": "example'", + "idPrefix": "example", "classes": "nhsuk-radios--inline", "name": "example", "fieldset": { diff --git a/docs/installation/installing-compiled.md b/docs/installation/installing-compiled.md index 5875b5560..0fa69c62a 100644 --- a/docs/installation/installing-compiled.md +++ b/docs/installation/installing-compiled.md @@ -54,7 +54,7 @@ If you require any of this functionality, you should [install using npm](/docs/i - NHS.UK example + NHS.UK page template @@ -69,17 +69,154 @@ If you require any of this functionality, you should [install using npm](/docs/i - + Skip to main content + + + + +
- + +

Page template

+
- + + + ``` diff --git a/packages/components/breadcrumb/README.md b/packages/components/breadcrumb/README.md index fe88092ec..f51e404c2 100644 --- a/packages/components/breadcrumb/README.md +++ b/packages/components/breadcrumb/README.md @@ -14,9 +14,9 @@ To discuss or contribute to this component, visit the [GitHub issue for this com
diff --git a/packages/components/checkboxes/README.md b/packages/components/checkboxes/README.md index 4060b635b..f8b0eb519 100644 --- a/packages/components/checkboxes/README.md +++ b/packages/components/checkboxes/README.md @@ -157,32 +157,26 @@ To discuss or contribute to this component, visit the [GitHub issue for this com ```html
-
-
-
-
-
-
``` @@ -294,43 +288,34 @@ To discuss or contribute to this component, visit the [GitHub issue for this com ```html
-
- - - Which types of waste do you transport regularly? - - - + + Which types of waste do you transport regularly? + + Please select an option - - -
- -
- -
-
``` diff --git a/packages/components/footer/README.md b/packages/components/footer/README.md index d33945233..833310068 100644 --- a/packages/components/footer/README.md +++ b/packages/components/footer/README.md @@ -36,30 +36,30 @@ Find out more about the footer component and when to use it in the [NHS Digital ``` {% from 'components/footer/macro.njk' import footer %} - {{ footer({ - "links": [ - { - "URL": "https://www.nhs.uk/Pages/nhs-sites.aspx", - "label": "NHS sites" - }, - { - "URL": "https://www.nhs.uk/about-us", - "label": "About us" - }, - { - "URL": "https://www.nhs.uk/contact-us/", - "label": "Contact us" - }, - { - "URL": "https://www.nhs.uk/about-us/sitemap/", - "label": "Sitemap" - }, - { - "URL": "https://www.nhs.uk/our-policies/", - "label": "Our policies" - } - ] - })}} +{{ footer({ + "links": [ + { + "URL": "https://www.nhs.uk/Pages/nhs-sites.aspx", + "label": "NHS sites" + }, + { + "URL": "https://www.nhs.uk/about-us", + "label": "About us" + }, + { + "URL": "https://www.nhs.uk/contact-us/", + "label": "Contact us" + }, + { + "URL": "https://www.nhs.uk/about-us/sitemap/", + "label": "Sitemap" + }, + { + "URL": "https://www.nhs.uk/our-policies/", + "label": "Our policies" + } + ] +})}} ``` ## Nunjucks arguments diff --git a/packages/components/header/README.md b/packages/components/header/README.md index 79320253f..a386ea99f 100644 --- a/packages/components/header/README.md +++ b/packages/components/header/README.md @@ -45,6 +45,7 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen -
-
- +
``` ### Nunjucks macro diff --git a/packages/components/header/template.njk b/packages/components/header/template.njk index 24c8f09e8..a9e1081b1 100644 --- a/packages/components/header/template.njk +++ b/packages/components/header/template.njk @@ -18,7 +18,7 @@ {% if params.showNav == "false" and params.showSearch == "false"%} {% if params.transactionalService%} -
+
{{ params.transactionalService.name }}
{% endif %} @@ -87,7 +87,7 @@ {% for item in params.primaryLinks %}
  • - + {{item.label}}
    - +