This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates markup and styling of errors
This commit updates the markup that this gem produces so that its closer inline with the markup that GOVUK Elements uses https://govuk-elements.herokuapp.com/form-elements/example-date/ It also fixes an issue with error styling which was broken as a result of GDS changing the css class name used to style error messages. The class name changes from `error` to `form-group-error` also each input field also receives a `form-control-error` https://github.com/alphagov/govuk_elements/releases/tag/v3.0.0 alphagov/govuk_elements#405 As this commit introduces new markup and potentially breaking changes for any services relying on the markup for styling or js interaction may want to upgrade with caution. In addition to this update if your project is using GOVUK Elements < 3.0 then you will also need to update your GOVUK Elements version
- Loading branch information
Showing
2 changed files
with
162 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters