aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-11-14 19:45:35 -0800
committerMark Otto <[email protected]>2015-11-14 19:45:35 -0800
commitf712e922d1e52ef05701de913ee5719b58af4ee2 (patch)
treed6ebae30f982bb21e47f3d1107b22d8a386ed183 /docs/components
parent11dff583cec1679b8dbdc92df8c4572a36844612 (diff)
downloadbootstrap-f712e922d1e52ef05701de913ee5719b58af4ee2.tar.xz
bootstrap-f712e922d1e52ef05701de913ee5719b58af4ee2.zip
unfuck that class name change
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/forms.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/components/forms.md b/docs/components/forms.md
index e148c6102..d9e5b91d9 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-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.
+Bootstrap includes validation styles for danger, 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 %}
@@ -557,8 +557,8 @@ Ensure that an alternative indication of state is also provided. For instance, y
<input type="text" class="form-control form-control-warning" id="inputWarning1">
</div>
<div class="form-group has-danger">
- <label class="form-control-label" for="inputError1">Input with danger</label>
- <input type="text" class="form-control form-control-error" id="inputError1">
+ <label class="form-control-label" for="inputDanger1">Input with danger</label>
+ <input type="text" class="form-control form-control-danger" id="inputDanger1">
</div>
<div class="checkbox has-success">
@@ -576,14 +576,14 @@ Ensure that an alternative indication of state is also provided. For instance, y
<div class="has-danger">
<div class="checkbox">
<label>
- <input type="checkbox" id="checkboxError" value="option1">
- Checkbox with error
+ <input type="checkbox" id="checkboxDanger" value="option1">
+ Checkbox with danger
</label>
</div>
<div class="checkbox has-danger">
<label>
- <input type="checkbox" id="checkboxError" value="option1">
- Checkbox with error
+ <input type="checkbox" id="checkboxDanger" value="option1">
+ Checkbox with danger
</label>
</div>
{% endexample %}