Skip to content

Commit

Permalink
Merge pull request #1370 from alphagov/conditionals-example-ids
Browse files Browse the repository at this point in the history
Update ID and name for conditional reveal examples
  • Loading branch information
36degrees authored Oct 6, 2020
2 parents c632342 + 4d48879 commit 1db34a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/checkboxes/conditional-reveal/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ layout: layout-example.njk
{% endset -%}

{{ govukCheckboxes({
idPrefix: "citizenship-conditional",
name: "citizen",
idPrefix: "contact",
name: "contact",
fieldset: {
legend: {
text: "How would you like to be contacted?",
Expand Down
4 changes: 2 additions & 2 deletions src/components/radios/conditional-reveal/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ layout: layout-example.njk
{% endset -%}

{{ govukRadios({
idPrefix: "how-contacted-conditional",
name: "how-contacted",
idPrefix: "contact",
name: "contact",
fieldset: {
legend: {
text: "How would you prefer to be contacted?",
Expand Down

0 comments on commit 1db34a9

Please sign in to comment.