aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Niccoli <[email protected]>2017-11-15 02:37:23 +0100
committerXhmikosR <[email protected]>2017-11-15 03:37:23 +0200
commitc81ce9fdf4f05310f180b949681c28db1b47aed2 (patch)
tree73a1b25a8df62bbb3474a1800ceb4478f62aa32c
parent1ee9cb04bd12a9eb17d1cc55c2d8b7b93c6c8ae3 (diff)
downloadbootstrap-c81ce9fdf4f05310f180b949681c28db1b47aed2.tar.xz
bootstrap-c81ce9fdf4f05310f180b949681c28db1b47aed2.zip
Removed .col-form-label from vertical form example (#24771)
Fixes #24739
-rw-r--r--docs/4.0/components/forms.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md
index 3668fbb12..5b79626a2 100644
--- a/docs/4.0/components/forms.md
+++ b/docs/4.0/components/forms.md
@@ -264,11 +264,11 @@ The `.form-group` class is the easiest way to add some structure to forms. Its o
{% example html %}
<form>
<div class="form-group">
- <label class="col-form-label" for="formGroupExampleInput">Example label</label>
+ <label for="formGroupExampleInput">Example label</label>
<input type="text" class="form-control" id="formGroupExampleInput" placeholder="Example input">
</div>
<div class="form-group">
- <label class="col-form-label" for="formGroupExampleInput2">Another label</label>
+ <label for="formGroupExampleInput2">Another label</label>
<input type="text" class="form-control" id="formGroupExampleInput2" placeholder="Another input">
</div>
</form>