0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

fix remaining checkboxes and radios in docs

This commit is contained in:
Mark Otto 2016-05-08 22:53:17 -07:00
parent d95aad695c
commit a803ab7f58

View File

@ -362,21 +362,21 @@ Be sure to add `.col-form-label` to your `<label>`s as well so they're verticall
<fieldset class="form-group row"> <fieldset class="form-group row">
<legend class="col-form-legend col-sm-2">Radios</legend> <legend class="col-form-legend col-sm-2">Radios</legend>
<div class="col-sm-10"> <div class="col-sm-10">
<div class="radio"> <div class="form-check">
<label> <label class="form-check-label">
<input type="radio" name="gridRadios" id="gridRadios1" value="option1" checked> <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios1" value="option1" checked>
Option one is this and that&mdash;be sure to include why it's great Option one is this and that&mdash;be sure to include why it's great
</label> </label>
</div> </div>
<div class="radio"> <div class="form-check">
<label> <label class="form-check-label">
<input type="radio" name="gridRadios" id="gridRadios2" value="option2"> <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios2" value="option2">
Option two can be something else and selecting it will deselect option one Option two can be something else and selecting it will deselect option one
</label> </label>
</div> </div>
<div class="radio disabled"> <div class="form-check disabled">
<label> <label class="form-check-label">
<input type="radio" name="gridRadios" id="gridRadios3" value="option3" disabled> <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios3" value="option3" disabled>
Option three is disabled Option three is disabled
</label> </label>
</div> </div>
@ -385,9 +385,9 @@ Be sure to add `.col-form-label` to your `<label>`s as well so they're verticall
<div class="form-group row"> <div class="form-group row">
<label class="col-sm-2">Checkbox</label> <label class="col-sm-2">Checkbox</label>
<div class="col-sm-10"> <div class="col-sm-10">
<div class="checkbox"> <div class="form-check">
<label> <label class="form-check-label">
<input type="checkbox"> Check me out <input class="form-check-input" type="checkbox"> Check me out
</label> </label>
</div> </div>
</div> </div>