Skip to content

Commit 395e781

Browse files
Fix 'link_errors' typo
Co-authored-by: Frankie Roberto <frankie@frankieroberto.com>
1 parent 33535ea commit 395e781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/posts/finishing-touches-for-forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ end
123123
124124
This would make it impossible for the error summary to accurately link to the first check box or radio button without repeating the logic --- an approach that's going to lead to bugs when it's updated in one place but not the other.
125125
126-
Instead, we have to help the error summary by 'marking' the field we want the error summary to link to with `link_error: true`. This overrides the ID generation so the link in the error summary will match it.
126+
Instead, we have to help the error summary by 'marking' the field we want the error summary to link to with `link_errors: true`. This overrides the ID generation so the link in the error summary will match it.
127127
128128
```ruby
129129
f.govuk_radio_buttons_fieldset(:close_ticket)) do

0 commit comments

Comments
 (0)