aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLaussel Loïc <[email protected]>2017-10-19 19:31:49 +0200
committerMark Otto <[email protected]>2017-10-19 10:31:49 -0700
commit13898af59075a533b9b30f35fa2a6365f49e0bf9 (patch)
tree07ead947c255c1740bbd67c94d2213f6f38de989 /docs
parentba44eb1279a6b07c07ba2a0694950e843681d176 (diff)
downloadbootstrap-13898af59075a533b9b30f35fa2a6365f49e0bf9.tar.xz
bootstrap-13898af59075a533b9b30f35fa2a6365f49e0bf9.zip
remove form control label as it have been removed (#24442)
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/components/forms.md4
-rw-r--r--docs/4.0/components/modal.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md
index 84891d841..abf6c1e67 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="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>
diff --git a/docs/4.0/components/modal.md b/docs/4.0/components/modal.md
index 3586f461c..c4191b83d 100644
--- a/docs/4.0/components/modal.md
+++ b/docs/4.0/components/modal.md
@@ -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>