From ebdecacd650a766e8123dbe3f86c4aa0f9cd72b4 Mon Sep 17 00:00:00 2001 From: Mark Otto <otto@github.com> Date: Wed, 2 Jul 2014 22:06:28 -0700 Subject: [PATCH] fix up examples --- docs/_includes/css/forms.html | 48 +++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/docs/_includes/css/forms.html b/docs/_includes/css/forms.html index 7fb07ec7cc..15bfb93b04 100644 --- a/docs/_includes/css/forms.html +++ b/docs/_includes/css/forms.html @@ -521,25 +521,27 @@ <label class="control-label" for="inputError1">Input with error</label> <input type="text" class="form-control" id="inputError1"> </div> - <div class="has-error"> - <div class="radio"> - <label class="checkbox"> + <div class="has-success"> + <div class="checkbox"> + <label> <input type="checkbox" id="checkboxError" value="option1"> - Option one is this and that—be sure to include why it's great + Checkbox with success </label> </div> </div> - <div class="has-success"> - <div class="radio"> + <div class="has-warning"> + <div class="checkbox"> <label> - <input type="radio" name="optionsRadios" id="radiosSuccess1" value="option1" checked> - Option one is this and that—be sure to include why it's great + <input type="checkbox" id="checkboxError" value="option1"> + Checkbox with warning </label> </div> - <div class="radio"> + </div> + <div class="has-error"> + <div class="checkbox"> <label> - <input type="radio" name="optionsRadios" id="radiosSuccess2" value="option2"> - Option two can be something else and selecting it will deselect option one + <input type="checkbox" id="checkboxError" value="option1"> + Checkbox with error </label> </div> </div> @@ -558,25 +560,27 @@ <label class="control-label" for="inputError1">Input with error</label> <input type="text" class="form-control" id="inputError1"> </div> -<div class="has-error"> - <div class="radio"> - <label class="checkbox"> +<div class="has-success"> + <div class="checkbox"> + <label> <input type="checkbox" id="checkboxError" value="option1"> - Option one is this and that—be sure to include why it's great + Checkbox with success </label> </div> </div> -<div class="has-success"> - <div class="radio"> +<div class="has-warning"> + <div class="checkbox"> <label> - <input type="radio" name="optionsRadios" id="radiosSuccess1" value="option1" checked> - Option one is this and that—be sure to include why it's great + <input type="checkbox" id="checkboxError" value="option1"> + Checkbox with warning </label> </div> - <div class="radio"> +</div> +<div class="has-error"> + <div class="checkbox"> <label> - <input type="radio" name="optionsRadios" id="radiosSuccess2" value="option2"> - Option two can be something else and selecting it will deselect option one + <input type="checkbox" id="checkboxError" value="option1"> + Checkbox with error </label> </div> </div> -- GitLab