Commit b242ff78 authored by Mark Otto's avatar Mark Otto
Browse files

Fixes #6553: example fix for validation states

parent 767a293b
Showing with 20 additions and 0 deletions
+20 -0
...@@ -1630,6 +1630,7 @@ For example, <code><section></code> should be wrapped ...@@ -1630,6 +1630,7 @@ For example, <code><section></code> should be wrapped
<span class="help-inline">Something may have gone wrong</span> <span class="help-inline">Something may have gone wrong</span>
</div> </div>
</div> </div>
<div class="control-group error"> <div class="control-group 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">
...@@ -1637,6 +1638,15 @@ For example, <code><section></code> should be wrapped ...@@ -1637,6 +1638,15 @@ For example, <code><section></code> should be wrapped
<span class="help-inline">Please correct the error</span> <span class="help-inline">Please correct the error</span>
</div> </div>
</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"> <div class="control-group 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">
......
...@@ -1567,6 +1567,7 @@ ...@@ -1567,6 +1567,7 @@
<span class="help-inline">{{_i}}Something may have gone wrong{{/i}}</span> <span class="help-inline">{{_i}}Something may have gone wrong{{/i}}</span>
</div> </div>
</div> </div>
<div class="control-group error"> <div class="control-group error">
<label class="control-label" for="inputError">{{_i}}Input with error{{/i}}</label> <label class="control-label" for="inputError">{{_i}}Input with error{{/i}}</label>
<div class="controls"> <div class="controls">
...@@ -1574,6 +1575,15 @@ ...@@ -1574,6 +1575,15 @@
<span class="help-inline">{{_i}}Please correct the error{{/i}}</span> <span class="help-inline">{{_i}}Please correct the error{{/i}}</span>
</div> </div>
</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"> <div class="control-group success">
<label class="control-label" for="inputSuccess">{{_i}}Input with success{{/i}}</label> <label class="control-label" for="inputSuccess">{{_i}}Input with success{{/i}}</label>
<div class="controls"> <div class="controls">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment