aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-10-09 16:50:49 -0700
committerGitHub <[email protected]>2016-10-09 16:50:49 -0700
commit29f196936f83db8e81de791285c796379741c176 (patch)
tree35cccf9cf482c9d580877fecc715403c317f4fd5 /docs
parent167129ae8684b8407e772d17c9d11f8072e422e2 (diff)
parent8273e0cf82da85e13623aeb8309ba8ff848ddaa0 (diff)
downloadbootstrap-29f196936f83db8e81de791285c796379741c176.tar.xz
bootstrap-29f196936f83db8e81de791285c796379741c176.zip
Merge pull request #20872 from twbs/validation-fixes
Form validation fixes
Diffstat (limited to 'docs')
-rw-r--r--docs/components/forms.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/components/forms.md b/docs/components/forms.md
index a2d59d920..99f0d9a63 100644
--- a/docs/components/forms.md
+++ b/docs/components/forms.md
@@ -710,19 +710,19 @@ Ensure that an alternative indication of state is also provided. For instance, y
{% example html %}
<div class="form-group has-success">
- <label class="col-form-label" for="inputSuccess1">Input with success</label>
+ <label class="form-control-label" for="inputSuccess1">Input with success</label>
<input type="text" class="form-control form-control-success" id="inputSuccess1">
<div class="form-control-feedback">Success! You've done it.</div>
<small class="form-text text-muted">Example help text that remains unchanged.</small>
</div>
<div class="form-group has-warning">
- <label class="col-form-label" for="inputWarning1">Input with warning</label>
+ <label class="form-control-label" for="inputWarning1">Input with warning</label>
<input type="text" class="form-control form-control-warning" id="inputWarning1">
<div class="form-control-feedback">Shucks, check the formatting of that and try again.</div>
<small class="form-text text-muted">Example help text that remains unchanged.</small>
</div>
<div class="form-group has-danger">
- <label class="col-form-label" for="inputDanger1">Input with danger</label>
+ <label class="form-control-label" for="inputDanger1">Input with danger</label>
<input type="text" class="form-control form-control-danger" id="inputDanger1">
<div class="form-control-feedback">Sorry, that username's taken. Try another?</div>
<small class="form-text text-muted">Example help text that remains unchanged.</small>