aboutsummaryrefslogtreecommitdiff
path: root/docs/templates
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-10-01 11:27:40 -0700
committerMark Otto <[email protected]>2012-10-01 11:27:40 -0700
commite6d6c7a413d69afc41c3c57b72f1b0dedfdbb516 (patch)
treecba5e4f18108c82b0d67298e671acd3c69b15fa7 /docs/templates
parent8da78223ffe7922f46167e7429c40339e7bc53d2 (diff)
parentc6c1ada60074e420fa93174cb3db167faf618e2b (diff)
downloadbootstrap-e6d6c7a413d69afc41c3c57b72f1b0dedfdbb516.tar.xz
bootstrap-e6d6c7a413d69afc41c3c57b72f1b0dedfdbb516.zip
Merge branch '2.1.2-wip' into exploratory
Conflicts: docs/assets/css/bootstrap.css less/navs.less
Diffstat (limited to 'docs/templates')
-rw-r--r--docs/templates/pages/base-css.mustache37
-rw-r--r--docs/templates/pages/scaffolding.mustache2
2 files changed, 21 insertions, 18 deletions
diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache
index 1a91ff387..a539e7e2b 100644
--- a/docs/templates/pages/base-css.mustache
+++ b/docs/templates/pages/base-css.mustache
@@ -812,25 +812,29 @@
<h2 id="forms-default">{{_i}}Default styles{{/i}}</h2>
<p>{{_i}}Individual form controls receive styling, but without any required base class on the <code>&lt;form&gt;</code> or large changes in markup. Results in stacked, left-aligned labels on top of form controls.{{/i}}</p>
<form class="bs-docs-example">
- <legend>Legend</legend>
- <label>{{_i}}Label name{{/i}}</label>
- <input type="text" placeholder="{{_i}}Type something…{{/i}}">
- <span class="help-block">{{_i}}Example block-level help text here.{{/i}}</span>
- <label class="checkbox">
- <input type="checkbox"> {{_i}}Check me out{{/i}}
- </label>
- <button type="submit" class="btn">{{_i}}Submit{{/i}}</button>
+ <fieldset>
+ <legend>Legend</legend>
+ <label>{{_i}}Label name{{/i}}</label>
+ <input type="text" placeholder="{{_i}}Type something…{{/i}}">
+ <span class="help-block">{{_i}}Example block-level help text here.{{/i}}</span>
+ <label class="checkbox">
+ <input type="checkbox"> {{_i}}Check me out{{/i}}
+ </label>
+ <button type="submit" class="btn">{{_i}}Submit{{/i}}</button>
+ </fieldset>
</form>{{! /example }}
<pre class="prettyprint linenums">
&lt;form&gt;
- &lt;legend&gt;{{_i}}Legend{{/i}}&lt;/legend&gt;
- &lt;label&gt;{{_i}}Label name{{/i}}&lt;/label&gt;
- &lt;input type="text" placeholder="{{_i}}Type something…{{/i}}"&gt;
- &lt;span class="help-block"&gt;Example block-level help text here.&lt;/span&gt;
- &lt;label class="checkbox"&gt;
- &lt;input type="checkbox"&gt; {{_i}}Check me out{{/i}}
- &lt;/label&gt;
- &lt;button type="submit" class="btn"&gt;{{_i}}Submit{{/i}}&lt;/button&gt;
+ &lt;fieldset&gt;
+ &lt;legend&gt;{{_i}}Legend{{/i}}&lt;/legend&gt;
+ &lt;label&gt;{{_i}}Label name{{/i}}&lt;/label&gt;
+ &lt;input type="text" placeholder="{{_i}}Type something…{{/i}}"&gt;
+ &lt;span class="help-block"&gt;Example block-level help text here.&lt;/span&gt;
+ &lt;label class="checkbox"&gt;
+ &lt;input type="checkbox"&gt; {{_i}}Check me out{{/i}}
+ &lt;/label&gt;
+ &lt;button type="submit" class="btn"&gt;{{_i}}Submit{{/i}}&lt;/button&gt;
+ &lt;/fieldset&gt;
&lt;/form&gt;
</pre>
@@ -884,7 +888,6 @@
<li>{{_i}}Wrap any associated controls in <code>.controls</code> for proper alignment{{/i}}</li>
</ul>
<form class="bs-docs-example form-horizontal">
- <legend>Legend</legend>
<div class="control-group">
<label class="control-label" for="inputEmail">{{_i}}Email{{/i}}</label>
<div class="controls">
diff --git a/docs/templates/pages/scaffolding.mustache b/docs/templates/pages/scaffolding.mustache
index c4c5322b1..8da12d0a5 100644
--- a/docs/templates/pages/scaffolding.mustache
+++ b/docs/templates/pages/scaffolding.mustache
@@ -339,7 +339,7 @@
</table>
<h3>{{_i}}When to use{{/i}}</h3>
- <p>{{_i}}Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation.{{/i}}</p>
+ <p>{{_i}}Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation. Responsive utilities should not be used with tables, and as such are not supported.{{/i}}</p>
<h3>{{_i}}Responsive utilities test case{{/i}}</h3>
<p>{{_i}}Resize your browser or load on different devices to test the above classes.{{/i}}</p>