Commit 32215632 authored by Mark Otto's avatar Mark Otto

Merge pull request #17359 from caleb/patch-1

Update static form control example
parents 75029530 ec83b06d
...@@ -397,14 +397,14 @@ When you need to place plain text next to a form label within a form, use the `. ...@@ -397,14 +397,14 @@ When you need to place plain text next to a form label within a form, use the `.
{% example html %} {% example html %}
<form class="form-horizontal"> <form class="form-horizontal">
<div class="form-group"> <div class="form-group row">
<label class="col-sm-2 control-label">Email</label> <label class="col-sm-2 form-control-label">Email</label>
<div class="col-sm-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 row">
<label for="inputPassword" class="col-sm-2 control-label">Password</label> <label for="inputPassword" class="col-sm-2 form-control-label">Password</label>
<div class="col-sm-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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment