0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Merge pull request #17359 from caleb/patch-1

Update static form control example
This commit is contained in:
Mark Otto 2015-09-01 20:23:35 -07:00
commit 3221563228

View File

@ -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@example.com</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>