0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00

Merge pull request #15120 from twbs/fix-forms-doc

Fix .form-inline docs example
This commit is contained in:
Chris Rebert 2014-11-13 12:07:38 -08:00
commit 20ba8ad6f0

View File

@ -72,9 +72,10 @@
<input type="email" class="form-control" id="exampleInputEmail2" placeholder="Enter email">
</div>
<div class="form-group">
<label class="sr-only" for="exampleInputUsername2">Username</label>
<div class="input-group">
<div class="input-group-addon">@</div>
<input class="form-control" type="email" placeholder="Enter email">
<input type="text" class="form-control" id="exampleInputUsername2" placeholder="Enter username">
</div>
</div>
<div class="form-group">
@ -92,10 +93,14 @@
{% highlight html %}
<form class="form-inline" role="form">
<div class="form-group">
<label class="sr-only" for="exampleInputEmail2">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail2" placeholder="Enter email">
</div>
<div class="form-group">
<label class="sr-only" for="exampleInputUsername2">Username</label>
<div class="input-group">
<label class="sr-only" for="exampleInputEmail2">Email address</label>
<div class="input-group-addon">@</div>
<input type="email" class="form-control" id="exampleInputEmail2" placeholder="Enter email">
<input type="text" class="form-control" id="exampleInputUsername2" placeholder="Enter username">
</div>
</div>
<div class="form-group">