diff options
| author | Mark Otto <[email protected]> | 2015-11-12 22:20:07 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-11-12 22:20:07 -0800 |
| commit | 6fd1c80d3760484ff433b616cfa51bf457a3d17f (patch) | |
| tree | b7f0b232ebe77dae0d80c365e31482a5af52de25 /docs | |
| parent | c1af4aa227884e7893ccc9b1dfc3f3dca26f9941 (diff) | |
| parent | a180a3362a42978de298a78300b3e39e36a45bf1 (diff) | |
| download | bootstrap-6fd1c80d3760484ff433b616cfa51bf457a3d17f.tar.xz bootstrap-6fd1c80d3760484ff433b616cfa51bf457a3d17f.zip | |
Merge pull request #17153 from kkirsche/patch-17
v4 — Change .has-error to .has-danger for uniformity.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/components/forms.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/components/forms.md b/docs/components/forms.md index 2c6e5516c..031dc83a8 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -535,7 +535,7 @@ Block help text—for below inputs or for longer lines of help text—can be eas ## Validation -Bootstrap includes validation styles for error, warning, and success states on form controls. To use, add `.has-warning`, `.has-error`, or `.has-success` to the parent element. Any `.form-control-label`, `.form-control`, and `.text-help` within that element will receive the validation styles. +Bootstrap includes validation styles for error, warning, and success states on form controls. To use, add `.has-warning`, `.has-danger`, or `.has-success` to the parent element. Any `.form-control-label`, `.form-control`, and `.text-help` within that element will receive the validation styles. {% comment %} {% callout warning %} @@ -556,7 +556,7 @@ Ensure that an alternative indication of state is also provided. For instance, y <label class="form-control-label" for="inputWarning1">Input with warning</label> <input type="text" class="form-control form-control-warning" id="inputWarning1"> </div> -<div class="form-group has-error"> +<div class="form-group has-danger"> <label class="form-control-label" for="inputError1">Input with error</label> <input type="text" class="form-control form-control-error" id="inputError1"> </div> @@ -577,7 +577,7 @@ Ensure that an alternative indication of state is also provided. For instance, y </label> </div> </div> -<div class="has-error"> +<div class="has-danger"> <div class="checkbox"> <label> <input type="checkbox" id="checkboxError" value="option1"> |
