diff options
author | Thomas Park <thomas@thomaspark.me> | 2014-06-11 12:35:37 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2014-06-11 12:35:37 -0400 |
commit | d4aa8c6e64943f6bddcd49e1667806bcbd91c478 (patch) | |
tree | d5a44aa26af606cefe4c84a67cedfc765d67cc1b /tests | |
parent | fbd23d0218c3834900bbd66fb22e1522d8e23b70 (diff) |
fix border on input-group-addon states
Diffstat (limited to 'tests')
-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> |