Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix .form-inline docs example #15120

Merged
merged 1 commit into from
Nov 13, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions docs/_includes/css/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ <h4>Always add labels</h4>
<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">
Expand All @@ -92,10 +93,14 @@ <h4>Always add labels</h4>
{% 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">
Expand Down