Document #13186
This commit is contained in:
parent
ba1790ba0b
commit
1d6187956f
|
@ -254,7 +254,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h4>Inline checkboxes</h4>
|
<h4>Inline checkboxes and radios</h4>
|
||||||
<p>Use the <code>.checkbox-inline</code> or <code>.radio-inline</code> classes on a series of checkboxes or radios for controls that appear on the same line.</p>
|
<p>Use the <code>.checkbox-inline</code> or <code>.radio-inline</code> classes on a series of checkboxes or radios for controls that appear on the same line.</p>
|
||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<form role="form">
|
<form role="form">
|
||||||
|
@ -268,6 +268,18 @@
|
||||||
<input type="checkbox" id="inlineCheckbox3" value="option3"> 3
|
<input type="checkbox" id="inlineCheckbox3" value="option3"> 3
|
||||||
</label>
|
</label>
|
||||||
</form>
|
</form>
|
||||||
|
<br>
|
||||||
|
<form role="form">
|
||||||
|
<label class="radio-inline">
|
||||||
|
<input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> 1
|
||||||
|
</label>
|
||||||
|
<label class="radio-inline">
|
||||||
|
<input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> 2
|
||||||
|
</label>
|
||||||
|
<label class="radio-inline">
|
||||||
|
<input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3"> 3
|
||||||
|
</label>
|
||||||
|
</form>
|
||||||
</div><!-- /.bs-example -->
|
</div><!-- /.bs-example -->
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<label class="checkbox-inline">
|
<label class="checkbox-inline">
|
||||||
|
@ -279,6 +291,16 @@
|
||||||
<label class="checkbox-inline">
|
<label class="checkbox-inline">
|
||||||
<input type="checkbox" id="inlineCheckbox3" value="option3"> 3
|
<input type="checkbox" id="inlineCheckbox3" value="option3"> 3
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
<label class="radio-inline">
|
||||||
|
<input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> 1
|
||||||
|
</label>
|
||||||
|
<label class="radio-inline">
|
||||||
|
<input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> 2
|
||||||
|
</label>
|
||||||
|
<label class="radio-inline">
|
||||||
|
<input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3"> 3
|
||||||
|
</label>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3>Selects</h3>
|
<h3>Selects</h3>
|
||||||
|
|
Loading…
Reference in New Issue