diff options
| author | Mark Otto <[email protected]> | 2015-09-01 20:23:35 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-09-01 20:23:35 -0700 |
| commit | 3221563228fb11e25004aec9eebd2157161d8217 (patch) | |
| tree | 7c6d9d85c21ba5d2838675994e48efc0ec220132 | |
| parent | 750295306a9df95f80b613c35d926310f4d6afaf (diff) | |
| parent | ec83b06d55e6685e70426758ea3f048c91199352 (diff) | |
| download | bootstrap-3221563228fb11e25004aec9eebd2157161d8217.tar.xz bootstrap-3221563228fb11e25004aec9eebd2157161d8217.zip | |
Merge pull request #17359 from caleb/patch-1
Update static form control example
| -rw-r--r-- | docs/components/forms.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/components/forms.md b/docs/components/forms.md index 2bf223b4d..94588c79f 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> |
