aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCaleb Land <[email protected]>2015-08-26 23:47:50 -0400
committerCaleb Land <[email protected]>2015-08-26 23:47:50 -0400
commitec83b06d55e6685e70426758ea3f048c91199352 (patch)
tree8eeabc1657a673ba21c877ea66a5474a95883fc7 /docs
parentbdc10b4a5b0f4f1de14be446b007a0d91304f6a9 (diff)
downloadbootstrap-ec83b06d55e6685e70426758ea3f048c91199352.tar.xz
bootstrap-ec83b06d55e6685e70426758ea3f048c91199352.zip
Update static form control example
Use the `row` class on the `form-group`, and change the `control-label` class to `form-control-label`
Diffstat (limited to 'docs')
-rw-r--r--docs/components/forms.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/components/forms.md b/docs/components/forms.md
index f45f207ca..1ebd3ade1 100644
--- a/docs/components/forms.md
+++ b/docs/components/forms.md
@@ -397,14 +397,14 @@ When you need to place plain text next to a form label within a form, use the `.
{% example html %}
<form class="form-horizontal">
- <div class="form-group">
- <label class="col-sm-2 control-label">Email</label>
+ <div class="form-group row">
+ <label class="col-sm-2 form-control-label">Email</label>
<div class="col-sm-10">
<p class="form-control-static">[email protected]</p>
</div>
</div>
- <div class="form-group">
- <label for="inputPassword" class="col-sm-2 control-label">Password</label>
+ <div class="form-group row">
+ <label for="inputPassword" class="col-sm-2 form-control-label">Password</label>
<div class="col-sm-10">
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
</div>