]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove form control label as it have been removed (#24442)
authorLaussel Loïc <loic.laussel@orange.com>
Thu, 19 Oct 2017 17:31:49 +0000 (19:31 +0200)
committerMark Otto <markd.otto@gmail.com>
Thu, 19 Oct 2017 17:31:49 +0000 (10:31 -0700)
docs/4.0/components/forms.md
docs/4.0/components/modal.md

index 84891d8417bee266c91521b500c9471919a6c266..abf6c1e678451ca94b5923d6442cb3c560c873ee 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="form-control-label" for="formGroupExampleInput">Example label</label>
+    <label class="col-form-label" for="formGroupExampleInput">Example label</label>
     <input type="text" class="form-control" id="formGroupExampleInput" placeholder="Example input">
   </div>
   <div class="form-group">
-    <label class="form-control-label" for="formGroupExampleInput2">Another label</label>
+    <label class="col-form-label" for="formGroupExampleInput2">Another label</label>
     <input type="text" class="form-control" id="formGroupExampleInput2" placeholder="Another input">
   </div>
 </form>
index 3586f461ca6f6705f8b57e402e5c8d4cef3a4831..c4191b83d1fe8e6b913497b8be125a27140d007d 100644 (file)
@@ -359,11 +359,11 @@ Below is a live demo followed by example HTML and JavaScript. For more informati
       <div class="modal-body">
         <form>
           <div class="form-group">
-            <label for="recipient-name" class="form-control-label">Recipient:</label>
+            <label for="recipient-name" class="col-form-label">Recipient:</label>
             <input type="text" class="form-control" id="recipient-name">
           </div>
           <div class="form-group">
-            <label for="message-text" class="form-control-label">Message:</label>
+            <label for="message-text" class="col-form-label">Message:</label>
             <textarea class="form-control" id="message-text"></textarea>
           </div>
         </form>