]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Removed .col-form-label from vertical form example (#24771)
authorDaniel Niccoli <Borkason@users.noreply.github.com>
Wed, 15 Nov 2017 01:37:23 +0000 (02:37 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 15 Nov 2017 01:37:23 +0000 (03:37 +0200)
Fixes #24739

docs/4.0/components/forms.md

index 3668fbb122fae1437ffcd9d85769f6eb02e39689..5b79626a2640b6236ddf208c8fba2b4428ca39df 100644 (file)
@@ -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>