fix up examples

This commit is contained in:
Mark Otto 2014-07-02 22:06:28 -07:00
parent 1136f9346a
commit ebdecacd65
1 changed files with 26 additions and 22 deletions

View File

@ -521,25 +521,27 @@
<label class="control-label" for="inputError1">Input with error</label> <label class="control-label" for="inputError1">Input with error</label>
<input type="text" class="form-control" id="inputError1"> <input type="text" class="form-control" id="inputError1">
</div> </div>
<div class="has-error"> <div class="has-success">
<div class="radio"> <div class="checkbox">
<label class="checkbox"> <label>
<input type="checkbox" id="checkboxError" value="option1"> <input type="checkbox" id="checkboxError" value="option1">
Option one is this and that&mdash;be sure to include why it's great Checkbox with success
</label> </label>
</div> </div>
</div> </div>
<div class="has-success"> <div class="has-warning">
<div class="radio"> <div class="checkbox">
<label> <label>
<input type="radio" name="optionsRadios" id="radiosSuccess1" value="option1" checked> <input type="checkbox" id="checkboxError" value="option1">
Option one is this and that&mdash;be sure to include why it's great Checkbox with warning
</label> </label>
</div> </div>
<div class="radio"> </div>
<div class="has-error">
<div class="checkbox">
<label> <label>
<input type="radio" name="optionsRadios" id="radiosSuccess2" value="option2"> <input type="checkbox" id="checkboxError" value="option1">
Option two can be something else and selecting it will deselect option one Checkbox with error
</label> </label>
</div> </div>
</div> </div>
@ -558,25 +560,27 @@
<label class="control-label" for="inputError1">Input with error</label> <label class="control-label" for="inputError1">Input with error</label>
<input type="text" class="form-control" id="inputError1"> <input type="text" class="form-control" id="inputError1">
</div> </div>
<div class="has-error"> <div class="has-success">
<div class="radio"> <div class="checkbox">
<label class="checkbox"> <label>
<input type="checkbox" id="checkboxError" value="option1"> <input type="checkbox" id="checkboxError" value="option1">
Option one is this and that&mdash;be sure to include why it's great Checkbox with success
</label> </label>
</div> </div>
</div> </div>
<div class="has-success"> <div class="has-warning">
<div class="radio"> <div class="checkbox">
<label> <label>
<input type="radio" name="optionsRadios" id="radiosSuccess1" value="option1" checked> <input type="checkbox" id="checkboxError" value="option1">
Option one is this and that&mdash;be sure to include why it's great Checkbox with warning
</label> </label>
</div> </div>
<div class="radio"> </div>
<div class="has-error">
<div class="checkbox">
<label> <label>
<input type="radio" name="optionsRadios" id="radiosSuccess2" value="option2"> <input type="checkbox" id="checkboxError" value="option1">
Option two can be something else and selecting it will deselect option one Checkbox with error
</label> </label>
</div> </div>
</div> </div>