Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 84891d8417..abf6c1e678 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 3586f461ca..c4191b83d1 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>