0
0
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:
Mark Otto 2013-07-11 14:16:29 -07:00
commit 9efab70c93

View File

@ -1456,19 +1456,19 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<p>Validation styles are applied on a per-input basis. With horizontal forms, the <code>&lt;label class="control-label"&gt;</code> will always be styled.</p> <p>Validation styles are applied on a per-input basis. With horizontal forms, the <code>&lt;label class="control-label"&gt;</code> will always be styled.</p>
<form class="bs-example form-horizontal"> <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> <label class="control-label" for="inputWarning">Input with warning</label>
<div class="controls"> <div class="controls">
<input type="text" class="input-with-feedback" id="inputWarning"> <input type="text" class="input-with-feedback" id="inputWarning">
</div> </div>
</div> </div>
<div class="control-group has-error"> <div class="has-error">
<label class="control-label" for="inputError">Input with error</label> <label class="control-label" for="inputError">Input with error</label>
<div class="controls"> <div class="controls">
<input type="text" class="input-with-feedback" id="inputError"> <input type="text" class="input-with-feedback" id="inputError">
</div> </div>
</div> </div>
<div class="control-group has-success"> <div class="has-success">
<label class="control-label" for="inputSuccess">Input with success</label> <label class="control-label" for="inputSuccess">Input with success</label>
<div class="controls"> <div class="controls">
<input type="text" class="input-with-feedback" id="inputSuccess"> <input type="text" class="input-with-feedback" id="inputSuccess">
@ -1476,19 +1476,19 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
</div> </div>
</form> </form>
{% highlight html %} {% highlight html %}
<div class="control-group has-warning"> <div class="has-warning">
<label class="control-label" for="inputWarning">Input with warning</label> <label class="control-label" for="inputWarning">Input with warning</label>
<div class="controls"> <div class="controls">
<input type="text" class="input-with-feedback" id="inputWarning"> <input type="text" class="input-with-feedback" id="inputWarning">
</div> </div>
</div> </div>
<div class="control-group has-error"> <div class="has-error">
<label class="control-label" for="inputError">Input with error</label> <label class="control-label" for="inputError">Input with error</label>
<div class="controls"> <div class="controls">
<input type="text" class="input-with-feedback" id="inputError"> <input type="text" class="input-with-feedback" id="inputError">
</div> </div>
</div> </div>
<div class="control-group has-success"> <div class="has-success">
<label class="control-label" for="inputSuccess">Input with success</label> <label class="control-label" for="inputSuccess">Input with success</label>
<div class="controls"> <div class="controls">
<input type="text" class="input-with-feedback" id="inputSuccess"> <input type="text" class="input-with-feedback" id="inputSuccess">