@@ -686,6 +686,12 @@ For example, <code><section></code> should be wrapped as inlin
...
@@ -686,6 +686,12 @@ For example, <code><section></code> should be wrapped as inlin
</td>
</td>
<td>Indicates a dangerous or potentially negative action.</td>
<td>Indicates a dangerous or potentially negative action.</td>
</tr>
</tr>
<tr>
<td>
<code>.warning</code>
</td>
<td>Indicates a warning that might need attention.</td>
</tr>
<tr>
<tr>
<td>
<td>
<code>.info</code>
<code>.info</code>
...
@@ -717,12 +723,18 @@ For example, <code><section></code> should be wrapped as inlin
...
@@ -717,12 +723,18 @@ For example, <code><section></code> should be wrapped as inlin
<td>02/04/2012</td>
<td>02/04/2012</td>
<td>Declined</td>
<td>Declined</td>
</tr>
</tr>
<trclass="info">
<trclass="warning">
<td>3</td>
<td>3</td>
<td>TB - Monthly</td>
<td>TB - Monthly</td>
<td>03/04/2012</td>
<td>03/04/2012</td>
<td>Pending</td>
<td>Pending</td>
</tr>
</tr>
<trclass="info">
<td>4</td>
<td>TB - Monthly</td>
<td>04/04/2012</td>
<td>Call in to confirm</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
@@ -1355,7 +1367,7 @@ For example, <code><section></code> should be wrapped as inlin
...
@@ -1355,7 +1367,7 @@ For example, <code><section></code> should be wrapped as inlin
</pre>
</pre>
<h3>Validation states</h3>
<h3>Validation states</h3>
<p>Bootstrap includes validation styles for error, warning, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.</p>
<p>Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.</p>
<formclass="bs-docs-example form-horizontal">
<formclass="bs-docs-example form-horizontal">
<divclass="control-group warning">
<divclass="control-group warning">
...
@@ -1372,6 +1384,13 @@ For example, <code><section></code> should be wrapped as inlin
...
@@ -1372,6 +1384,13 @@ For example, <code><section></code> should be wrapped as inlin
<spanclass="help-inline">Please correct the error</span>
<spanclass="help-inline">Please correct the error</span>
</div>
</div>
</div>
</div>
<divclass="control-group info">
<labelclass="control-label"for="inputError">Input with info</label>
<divclass="controls">
<inputtype="text"id="inputError">
<spanclass="help-inline">Username is taken</span>
</div>
</div>
<divclass="control-group success">
<divclass="control-group success">
<labelclass="control-label"for="inputSuccess">Input with success</label>
<labelclass="control-label"for="inputSuccess">Input with success</label>
<td>{{_i}}Indicates a dangerous or potentially negative action.{{/i}}</td>
<td>{{_i}}Indicates a dangerous or potentially negative action.{{/i}}</td>
</tr>
</tr>
<tr>
<td>
<code>.warning</code>
</td>
<td>{{_i}}Indicates a warning that might need attention.{{/i}}</td>
</tr>
<tr>
<tr>
<td>
<td>
<code>.info</code>
<code>.info</code>
...
@@ -654,12 +660,18 @@
...
@@ -654,12 +660,18 @@
<td>02/04/2012</td>
<td>02/04/2012</td>
<td>Declined</td>
<td>Declined</td>
</tr>
</tr>
<trclass="info">
<trclass="warning">
<td>3</td>
<td>3</td>
<td>TB - Monthly</td>
<td>TB - Monthly</td>
<td>03/04/2012</td>
<td>03/04/2012</td>
<td>Pending</td>
<td>Pending</td>
</tr>
</tr>
<trclass="info">
<td>4</td>
<td>TB - Monthly</td>
<td>04/04/2012</td>
<td>Call in to confirm</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>{{! /example }}
</div>{{! /example }}
...
@@ -1292,7 +1304,7 @@
...
@@ -1292,7 +1304,7 @@
</pre>
</pre>
<h3>{{_i}}Validation states{{/i}}</h3>
<h3>{{_i}}Validation states{{/i}}</h3>
<p>{{_i}}Bootstrap includes validation styles for error, warning, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.{{/i}}</p>
<p>{{_i}}Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.{{/i}}</p>
<formclass="bs-docs-example form-horizontal">
<formclass="bs-docs-example form-horizontal">
<divclass="control-group warning">
<divclass="control-group warning">
...
@@ -1309,6 +1321,13 @@
...
@@ -1309,6 +1321,13 @@
<spanclass="help-inline">{{_i}}Please correct the error{{/i}}</span>
<spanclass="help-inline">{{_i}}Please correct the error{{/i}}</span>
</div>
</div>
</div>
</div>
<divclass="control-group info">
<labelclass="control-label"for="inputError">{{_i}}Input with info{{/i}}</label>
<divclass="controls">
<inputtype="text"id="inputError">
<spanclass="help-inline">{{_i}}Username is taken{{/i}}</span>
</div>
</div>
<divclass="control-group success">
<divclass="control-group success">
<labelclass="control-label"for="inputSuccess">{{_i}}Input with success{{/i}}</label>
<labelclass="control-label"for="inputSuccess">{{_i}}Input with success{{/i}}</label>