@@ -952,22 +952,20 @@ For example, <code>section</code> should be wrapped as inline.
...
@@ -952,22 +952,20 @@ For example, <code>section</code> should be wrapped as inline.
</form>
</form>
</div>
</div>
<divclass="span4">
<divclass="span4">
<divclass="form-docs">
<h3>What's included</h3>
<h3>What's included</h3>
<p>Shown on the left are all the default form controls we support. Here's the bulleted list:</p>
<p>Shown on the left are all the default form controls we support. Here's the bulleted list:</p>
<ul>
<ul>
<li>text inputs (text, password, email, etc)</li>
<li>text inputs (text, password, email, etc)</li>
<li>checkbox</li>
<li>checkbox</li>
<li>radio</li>
<li>radio</li>
<li>select</li>
<li>select</li>
<li>multiple select</li>
<li>multiple select</li>
<li>file input</li>
<li>file input</li>
<li>textarea</li>
<li>textarea</li>
</ul>
</ul>
<hr>
<hr>
<h3>New defaults with v2.0</h3>
<h3>New defaults with v2.0</h3>
<p>Up to v1.4, Bootstrap's default form styles used the horizontal layout. With Bootstrap 2, we removed that constraint to have smarter, more scalable defaults for any form.</p>
<p>Up to v1.4, Bootstrap's default form styles used the horizontal layout. With Bootstrap 2, we removed that constraint to have smarter, more scalable defaults for any form.</p>
</div>
</div>
</div>
</div>
</div>
...
@@ -1047,19 +1045,17 @@ For example, <code>section</code> should be wrapped as inline.
...
@@ -1047,19 +1045,17 @@ For example, <code>section</code> should be wrapped as inline.
</form>
</form>
</div>
</div>
<divclass="span4">
<divclass="span4">
<divclass="form-docs">
<h3>Redesigned browser states</h3>
<h3>Redesigned browser states</h3>
<p>Bootstrap features styles for browser-supported focused and <code>disabled</code> states. We remove the default Webkit <code>outline</code> and apply a <code>box-shadow</code> in it's place for <code>:focus</code>.</p>
<p>Bootstrap features styles for browser-supported focused and <code>disabled</code> states. We remove the default Webkit <code>outline</code> and apply a <code>box-shadow</code> in it's place for <code>:focus</code>.</p>
<hr>
<hr>
<h3>Form validation</h3>
<h3>Form validation</h3>
<p>It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding <code>.control-group</code>.</p>
<p>It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding <code>.control-group</code>.</p>
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
<fieldset
<fieldset
class="control-group error">
class="control-group error">
…
…
</fieldset>
</fieldset>
</pre>
</pre>
</div>
</div>
</div>
</div>
</div>
...
@@ -1152,14 +1148,15 @@ For example, <code>section</code> should be wrapped as inline.
...
@@ -1152,14 +1148,15 @@ For example, <code>section</code> should be wrapped as inline.
</form>
</form>
</div>
</div>
<divclass="span4">
<divclass="span4">
<divclass="form-docs">
<h3>Prepend & append inputs</h3>
<h3>Prepend & append inputs</h3>
<p>Input groups—with appended or prepended text—provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.</p>
<p>Input groups—with appended or prepended text—provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.</p>
<hr>
<hr>
<h3>Checkboxes and radios</h3>
<h3>Checkboxes and radios</h3>
<p>Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <code><label class="checkbox"></code> that wraps the <code><input type="checkbox"></code>.</p>
<p>Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <code><label class="checkbox"></code> that wraps the <code><input type="checkbox"></code>.</p>
<p>Inline checkboxes and radios are also supported. Just add <code>.inline</code> to any <code>.checkbox</code> or <code>.radio</code> and you're done.</p>
<p>Inline checkboxes and radios are also supported. Just add <code>.inline</code> to any <code>.checkbox</code> or <code>.radio</code> and you're done.</p>
<hr>
</div>
<h4>Inline forms and append/prepend</h4>
<p>To use prepend or append inputs in an inline form, be sure to place the <code>.add-on</code> and <code>input</code> on the same line, without spaces.</p>
<p>{{_i}}Up to v1.4, Bootstrap's default form styles used the horizontal layout. With Bootstrap 2, we removed that constraint to have smarter, more scalable defaults for any form.{{/i}}</p>
<p>{{_i}}Up to v1.4, Bootstrap's default form styles used the horizontal layout. With Bootstrap 2, we removed that constraint to have smarter, more scalable defaults for any form.{{/i}}</p>
</div>
</div>
</div>
</div>
</div>
...
@@ -975,19 +973,17 @@
...
@@ -975,19 +973,17 @@
</form>
</form>
</div>
</div>
<divclass="span4">
<divclass="span4">
<divclass="form-docs">
<h3>{{_i}}Redesigned browser states{{/i}}</h3>
<h3>{{_i}}Redesigned browser states{{/i}}</h3>
<p>{{_i}}Bootstrap features styles for browser-supported focused and <code>disabled</code> states. We remove the default Webkit <code>outline</code> and apply a <code>box-shadow</code> in it's place for <code>:focus</code>.{{/i}}</p>
<p>{{_i}}Bootstrap features styles for browser-supported focused and <code>disabled</code> states. We remove the default Webkit <code>outline</code> and apply a <code>box-shadow</code> in it's place for <code>:focus</code>.{{/i}}</p>
<hr>
<hr>
<h3>{{_i}}Form validation{{/i}}</h3>
<h3>{{_i}}Form validation{{/i}}</h3>
<p>{{_i}}It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding <code>.control-group</code>.{{/i}}</p>
<p>{{_i}}It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding <code>.control-group</code>.{{/i}}</p>
<preclass="prettyprint linenums">
<preclass="prettyprint linenums">
<fieldset
<fieldset
class="control-group error">
class="control-group error">
…
…
</fieldset>
</fieldset>
</pre>
</pre>
</div>
</div>
</div>
</div>
</div>
...
@@ -1080,14 +1076,15 @@
...
@@ -1080,14 +1076,15 @@
</form>
</form>
</div>
</div>
<divclass="span4">
<divclass="span4">
<divclass="form-docs">
<h3>{{_i}}Prepend & append inputs{{/i}}</h3>
<h3>{{_i}}Prepend & append inputs{{/i}}</h3>
<p>{{_i}}Input groups—with appended or prepended text—provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.{{/i}}</p>
<p>{{_i}}Input groups—with appended or prepended text—provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.{{/i}}</p>
<hr>
<hr>
<h3>{{_i}}Checkboxes and radios{{/i}}</h3>
<h3>{{_i}}Checkboxes and radios{{/i}}</h3>
<p>{{_i}}Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <code><label class="checkbox"></code> that wraps the <code><input type="checkbox"></code>.{{/i}}</p>
<p>{{_i}}Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <code><label class="checkbox"></code> that wraps the <code><input type="checkbox"></code>.{{/i}}</p>
<p>{{_i}}Inline checkboxes and radios are also supported. Just add <code>.inline</code> to any <code>.checkbox</code> or <code>.radio</code> and you're done.{{/i}}</p>
<p>{{_i}}Inline checkboxes and radios are also supported. Just add <code>.inline</code> to any <code>.checkbox</code> or <code>.radio</code> and you're done.{{/i}}</p>
<hr>
</div>
<h4>{{_i}}Inline forms and append/prepend{{/i}}</h4>
<p>{{_i}}To use prepend or append inputs in an inline form, be sure to place the <code>.add-on</code> and <code>input</code> on the same line, without spaces.{{/i}}</p>