mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Merge pull request #8455 from cvrebert/control-group-dead
rm .control-group from docs since it's no longer in the LESS
This commit is contained in:
commit
9efab70c93
@ -1456,19 +1456,19 @@ For example, <code><section></code> should be wrapped as inline.
|
||||
<p>Validation styles are applied on a per-input basis. With horizontal forms, the <code><label class="control-label"></code> will always be styled.</p>
|
||||
|
||||
<form class="bs-example form-horizontal">
|
||||
<div class="control-group has-warning">
|
||||
<div class="has-warning">
|
||||
<label class="control-label" for="inputWarning">Input with warning</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-with-feedback" id="inputWarning">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group has-error">
|
||||
<div class="has-error">
|
||||
<label class="control-label" for="inputError">Input with error</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-with-feedback" id="inputError">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group has-success">
|
||||
<div class="has-success">
|
||||
<label class="control-label" for="inputSuccess">Input with success</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-with-feedback" id="inputSuccess">
|
||||
@ -1476,19 +1476,19 @@ For example, <code><section></code> should be wrapped as inline.
|
||||
</div>
|
||||
</form>
|
||||
{% highlight html %}
|
||||
<div class="control-group has-warning">
|
||||
<div class="has-warning">
|
||||
<label class="control-label" for="inputWarning">Input with warning</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-with-feedback" id="inputWarning">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group has-error">
|
||||
<div class="has-error">
|
||||
<label class="control-label" for="inputError">Input with error</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-with-feedback" id="inputError">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group has-success">
|
||||
<div class="has-success">
|
||||
<label class="control-label" for="inputSuccess">Input with success</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="input-with-feedback" id="inputSuccess">
|
||||
|
Loading…
Reference in New Issue
Block a user