1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 12:21:35 +02:00

add extra states to the form examples

This commit is contained in:
Mark Otto
2011-10-09 22:02:40 -07:00
parent 8f0671adfb
commit 831f279011
4 changed files with 195 additions and 42 deletions

View File

@@ -1103,19 +1103,33 @@
</div>
</div><!-- /clearfix -->
<div class="clearfix error">
<label for="xlInput2">Input with error</label>
<label for="errorInput">Input with error</label>
<div class="input">
<input class="xlarge error" id="xlInput2" name="xlInput2" size="30" type="text" />
<input class="xlarge error" id="errorInput" name="errorInput" size="30" type="text" />
<span class="help-inline">Small snippet of help text</span>
</div>
</div><!-- /clearfix -->
<div class="clearfix error">
<label for="xlInput2">Input with error</label>
<label for="errorInput2">Input with error</label>
<div class="input">
<input class="xlarge error" id="xlInput2" name="xlInput2" size="30" type="text" />
<input class="xlarge error" id="errorInput2" name="errorInput2" size="30" type="text" />
<span class="help-inline">Small snippet of help text</span>
</div>
</div><!-- /clearfix -->
<div class="clearfix success">
<label for="successInput">Input with success</label>
<div class="input">
<input class="xlarge error" id="successInput" name="successInput" size="30" type="text" />
<span class="help-inline">Success!</span>
</div>
</div><!-- /clearfix -->
<div class="clearfix warning">
<label for="warningInput">Input with warning</label>
<div class="input">
<input class="xlarge error" id="warningInput" name="warningInput" size="30" type="text" />
<span class="help-inline">Ruh roh!</span>
</div>
</div><!-- /clearfix -->
</fieldset>
<fieldset>
<legend>Example form legend</legend>