mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fixes #6553: example fix for validation states
This commit is contained in:
parent
767a293b4d
commit
b242ff7851
2 changed files with 20 additions and 0 deletions
|
@ -1630,6 +1630,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
|||
<span class="help-inline">Something may have gone wrong</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group error">
|
||||
<label class="control-label" for="inputError">Input with error</label>
|
||||
<div class="controls">
|
||||
|
@ -1637,6 +1638,15 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
|||
<span class="help-inline">Please correct the error</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group info">
|
||||
<label class="control-label" for="inputInfo">Input with info</label>
|
||||
<div class="controls">
|
||||
<input type="text" id="inputInfo">
|
||||
<span class="help-inline">Username is already taken</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group success">
|
||||
<label class="control-label" for="inputSuccess">Input with success</label>
|
||||
<div class="controls">
|
||||
|
|
10
docs/templates/pages/base-css.mustache
vendored
10
docs/templates/pages/base-css.mustache
vendored
|
@ -1567,6 +1567,7 @@
|
|||
<span class="help-inline">{{_i}}Something may have gone wrong{{/i}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group error">
|
||||
<label class="control-label" for="inputError">{{_i}}Input with error{{/i}}</label>
|
||||
<div class="controls">
|
||||
|
@ -1574,6 +1575,15 @@
|
|||
<span class="help-inline">{{_i}}Please correct the error{{/i}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group info">
|
||||
<label class="control-label" for="inputInfo">{{_i}}Input with info{{/i}}</label>
|
||||
<div class="controls">
|
||||
<input type="text" id="inputInfo">
|
||||
<span class="help-inline">{{_i}}Username is already taken{{/i}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group success">
|
||||
<label class="control-label" for="inputSuccess">{{_i}}Input with success{{/i}}</label>
|
||||
<div class="controls">
|
||||
|
|
Loading…
Reference in a new issue