]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #21892
authorMark Otto <markdotto@gmail.com>
Sun, 5 Feb 2017 00:43:05 +0000 (16:43 -0800)
committerMark Otto <markdotto@gmail.com>
Sun, 5 Feb 2017 00:43:05 +0000 (16:43 -0800)
docs/components/forms.md

index 17a96a11362e41b9ac7197662ae5ba9333a1525e..88740acfc7fa0a36a67bc4aa460c5a3967eddf26 100644 (file)
@@ -261,11 +261,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 for="formGroupExampleInput">Example label</label>
+    <label class="form-control-label" for="formGroupExampleInput">Example label</label>
     <input type="text" class="form-control" id="formGroupExampleInput" placeholder="Example input">
   </div>
   <div class="form-group">
-    <label for="formGroupExampleInput2">Another label</label>
+    <label class="form-control-label" for="formGroupExampleInput2">Another label</label>
     <input type="text" class="form-control" id="formGroupExampleInput2" placeholder="Another input">
   </div>
 </form>