0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

also use .col-sm-* in other .form-horizontal example for consistency

This commit is contained in:
Chris Rebert 2013-09-30 10:45:18 -07:00
parent df5aa7c0f1
commit 7247527f04

View File

@ -1797,14 +1797,14 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<div class="bs-example"> <div class="bs-example">
<form class="form-horizontal" role="form"> <form class="form-horizontal" role="form">
<div class="form-group"> <div class="form-group">
<label class="col-lg-2 control-label">Email</label> <label class="col-sm-2 control-label">Email</label>
<div class="col-lg-10"> <div class="col-sm-10">
<p class="form-control-static">email@example.com</p> <p class="form-control-static">email@example.com</p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="inputPassword" class="col-lg-2 control-label">Password</label> <label for="inputPassword" class="col-sm-2 control-label">Password</label>
<div class="col-lg-10"> <div class="col-sm-10">
<input type="password" class="form-control" id="inputPassword" placeholder="Password"> <input type="password" class="form-control" id="inputPassword" placeholder="Password">
</div> </div>
</div> </div>
@ -1813,14 +1813,14 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
{% highlight html %} {% highlight html %}
<form class="form-horizontal" role="form"> <form class="form-horizontal" role="form">
<div class="form-group"> <div class="form-group">
<label class="col-lg-2 control-label">Email</label> <label class="col-sm-2 control-label">Email</label>
<div class="col-lg-10"> <div class="col-sm-10">
<p class="form-control-static">email@example.com</p> <p class="form-control-static">email@example.com</p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="inputPassword" class="col-lg-2 control-label">Password</label> <label for="inputPassword" class="col-sm-2 control-label">Password</label>
<div class="col-lg-10"> <div class="col-sm-10">
<input type="password" class="form-control" id="inputPassword" placeholder="Password"> <input type="password" class="form-control" id="inputPassword" placeholder="Password">
</div> </div>
</div> </div>