diff options
Diffstat (limited to 'tests/components.html')
-rw-r--r-- | tests/components.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/components.html b/tests/components.html index 9e47d246..e523e1b1 100644 --- a/tests/components.html +++ b/tests/components.html @@ -809,6 +809,21 @@ </div> </form> + </p><form class="bs-example"> + <div class="form-group input-group has-warning"> + <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span> + <input type="text" class="form-control" id="inputWarning"> + </div> + <div class="form-group input-group has-error"> + <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span> + <input type="text" class="form-control" id="inputError"> + </div> + <div class="form-group input-group has-success"> + <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span> + <input type="text" class="form-control" id="inputSuccess"> + </div> + </form> + <div class="bs-callout bs-callout-warning"> <h4>Icons, labels, and input groups</h4> <p>Manual positioning of feedback icons is required for inputs without a label and for <a href="../components#input-groups">input groups</a> with an add-on on the right. For inputs without labels, adjust the <code>top</code>value. For input groups, adjust the <code>right</code> value to an appropriate pixel value depending on the width of your addon.</p> |