Skip to content

Commit

Permalink
Merge pull request #1262 from alphagov/fix-legend-label-headings-exam…
Browse files Browse the repository at this point in the history
…ples

Fix duplicated examples on label and legend headings page
  • Loading branch information
Chris Thomas authored May 21, 2020
2 parents abcde04 + ad681ef commit a4613d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
13 changes: 0 additions & 13 deletions src/get-started/labels-legends-headings/label-h1/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,3 @@ layout: layout-example.njk
id: "example",
name: "example"
}) }}

{{ govukInput({
label: {
text: "govuk-label--l",
classes: "govuk-label--l",
isPageHeading: true
},
hint: {
text: "This example shows an <h1> around a <label> with the class of govuk-label--l"
},
id: "example-2",
name: "example-2"
}) }}
28 changes: 0 additions & 28 deletions src/get-started/labels-legends-headings/legend-h1/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -36,31 +36,3 @@ layout: layout-example.njk
]
}) }}

{{ govukCheckboxes({
idPrefix: "checkbox-2",
name: "checkbox-2",
fieldset: {
legend: {
text: "govuk-fieldset__legend--l",
isPageHeading: true,
classes: "govuk-fieldset__legend--l"
}
},
hint: {
text: "This example shows an <h1> inside a <legend> with the class of govuk-fieldset__legend--l."
},
items: [
{
value: "checkbox",
text: "Checkbox 1"
},
{
value: "checkbox",
text: "Checkbox 2"
},
{
value: "checkbox",
text: "Checkbox 3"
}
]
}) }}

0 comments on commit a4613d6

Please sign in to comment.