mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Merge branch 'pr/14011'
This commit is contained in:
		
						commit
						d67fe0f5b9
					
				|  | @ -521,6 +521,30 @@ | |||
|         <label class="control-label" for="inputError1">Input with error</label> | ||||
|         <input type="text" class="form-control" id="inputError1"> | ||||
|       </div> | ||||
|       <div class="has-success"> | ||||
|         <div class="checkbox"> | ||||
|           <label> | ||||
|             <input type="checkbox" id="checkboxError" value="option1"> | ||||
|             Checkbox with success | ||||
|           </label> | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="has-warning"> | ||||
|         <div class="checkbox"> | ||||
|           <label> | ||||
|             <input type="checkbox" id="checkboxError" value="option1"> | ||||
|             Checkbox with warning | ||||
|           </label> | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="has-error"> | ||||
|         <div class="checkbox"> | ||||
|           <label> | ||||
|             <input type="checkbox" id="checkboxError" value="option1"> | ||||
|             Checkbox with error | ||||
|           </label> | ||||
|         </div> | ||||
|       </div> | ||||
|     </form> | ||||
|   </div><!-- /.bs-example --> | ||||
| {% highlight html %} | ||||
|  | @ -536,6 +560,30 @@ | |||
|   <label class="control-label" for="inputError1">Input with error</label> | ||||
|   <input type="text" class="form-control" id="inputError1"> | ||||
| </div> | ||||
| <div class="has-success"> | ||||
|   <div class="checkbox"> | ||||
|     <label> | ||||
|       <input type="checkbox" id="checkboxError" value="option1"> | ||||
|       Checkbox with success | ||||
|     </label> | ||||
|   </div> | ||||
| </div> | ||||
| <div class="has-warning"> | ||||
|   <div class="checkbox"> | ||||
|     <label> | ||||
|       <input type="checkbox" id="checkboxError" value="option1"> | ||||
|       Checkbox with warning | ||||
|     </label> | ||||
|   </div> | ||||
| </div> | ||||
| <div class="has-error"> | ||||
|   <div class="checkbox"> | ||||
|     <label> | ||||
|       <input type="checkbox" id="checkboxError" value="option1"> | ||||
|       Checkbox with error | ||||
|     </label> | ||||
|   </div> | ||||
| </div> | ||||
| {% endhighlight %} | ||||
| 
 | ||||
|   <h3>With optional icons</h3> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue