mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Fix empty for attribute on labels in Horizontal form
This commit is contained in:
parent
b7233a49dd
commit
ae275dccb8
@ -906,15 +906,15 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<form class="bs-docs-example form-horizontal">
|
||||
<legend>Legend</legend>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="">Email</label>
|
||||
<label class="control-label" for="inputEmail">Email</label>
|
||||
<div class="controls">
|
||||
<input type="text" placeholder="Email">
|
||||
<input type="text" id="inputEmail" placeholder="Email">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="">Password</label>
|
||||
<label class="control-label" for="inputPassword">Password</label>
|
||||
<div class="controls">
|
||||
<input type="password" placeholder="Password">
|
||||
<input type="password" id="inputPassword" placeholder="Password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
@ -929,15 +929,15 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<pre class="prettyprint linenums">
|
||||
<form class="form-horizontal">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="">Email</label>
|
||||
<label class="control-label" for="inputEmail">Email</label>
|
||||
<div class="controls">
|
||||
<input type="text" placeholder="Email">
|
||||
<input type="text" id="inputEmail" placeholder="Email">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="">Password</label>
|
||||
<label class="control-label" for="inputPassword">Password</label>
|
||||
<div class="controls">
|
||||
<input type="password" placeholder="Password">
|
||||
<input type="password" id="inputPassword" placeholder="Password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
|
16
docs/templates/pages/base-css.mustache
vendored
16
docs/templates/pages/base-css.mustache
vendored
@ -843,15 +843,15 @@
|
||||
<form class="bs-docs-example form-horizontal">
|
||||
<legend>Legend</legend>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="">{{_i}}Email{{/i}}</label>
|
||||
<label class="control-label" for="inputEmail">{{_i}}Email{{/i}}</label>
|
||||
<div class="controls">
|
||||
<input type="text" placeholder="{{_i}}Email{{/i}}">
|
||||
<input type="text" id="inputEmail" placeholder="{{_i}}Email{{/i}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="">{{_i}}Password{{/i}}</label>
|
||||
<label class="control-label" for="inputPassword">{{_i}}Password{{/i}}</label>
|
||||
<div class="controls">
|
||||
<input type="password" placeholder="{{_i}}Password{{/i}}">
|
||||
<input type="password" id="inputPassword" placeholder="{{_i}}Password{{/i}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
@ -866,15 +866,15 @@
|
||||
<pre class="prettyprint linenums">
|
||||
<form class="form-horizontal">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="">{{_i}}Email{{/i}}</label>
|
||||
<label class="control-label" for="inputEmail">{{_i}}Email{{/i}}</label>
|
||||
<div class="controls">
|
||||
<input type="text" placeholder="{{_i}}Email{{/i}}">
|
||||
<input type="text" id="inputEmail" placeholder="{{_i}}Email{{/i}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="">{{_i}}Password{{/i}}</label>
|
||||
<label class="control-label" for="inputPassword">{{_i}}Password{{/i}}</label>
|
||||
<div class="controls">
|
||||
<input type="password" placeholder="{{_i}}Password{{/i}}">
|
||||
<input type="password" id="inputPassword" placeholder="{{_i}}Password{{/i}}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
|
Loading…
Reference in New Issue
Block a user