]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add <input> into Help text code snippet as shown in example
authorErik van der Kolk <developer@smerik.nl>
Sat, 18 Aug 2012 14:03:47 +0000 (16:03 +0200)
committerErik van der Kolk <developer@smerik.nl>
Sat, 18 Aug 2012 14:03:47 +0000 (16:03 +0200)
docs/base-css.html
docs/templates/pages/base-css.mustache

index 50fa1a8f8c3ef13915d661ee941074e54b6410cb..b3cb0466a1587b586e55d15646d493565d5675ae 100644 (file)
@@ -1303,7 +1303,7 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
             <input type="text"> <span class="help-inline">Inline help text</span>
           </form>
 <pre class="prettyprint linenums">
-&lt;span class="help-inline"&gt;Inline help text&lt;/span&gt;
+&lt;input type="text"&gt;&lt;span class="help-inline"&gt;Inline help text&lt;/span&gt;
 </pre>
 
           <h4>Block help</h4>
@@ -1312,7 +1312,7 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
             <span class="help-block">A longer block of help text that breaks onto a new line and may extend beyond one line.</span>
           </form>
 <pre class="prettyprint linenums">
-&lt;span class="help-block"&gt;A longer block of help text that breaks onto a new line and may extend beyond one line.&lt;/span&gt;
+&lt;input type="text"&gt;&lt;span class="help-block"&gt;A longer block of help text that breaks onto a new line and may extend beyond one line.&lt;/span&gt;
 </pre>
 
 
index f263c9f6cb9af9d9cf6cee6277f9c65dcc4bb001..51438ec2b623d1eb8ab1aa2a68b08bc8458bce5c 100644 (file)
             <input type="text"> <span class="help-inline">Inline help text</span>
           </form>
 <pre class="prettyprint linenums">
-&lt;span class="help-inline"&gt;Inline help text&lt;/span&gt;
+&lt;input type="text"&gt;&lt;span class="help-inline"&gt;Inline help text&lt;/span&gt;
 </pre>
 
           <h4>{{_i}}Block help{{/i}}</h4>
             <span class="help-block">A longer block of help text that breaks onto a new line and may extend beyond one line.</span>
           </form>
 <pre class="prettyprint linenums">
-&lt;span class="help-block"&gt;A longer block of help text that breaks onto a new line and may extend beyond one line.&lt;/span&gt;
+&lt;input type="text"&gt;&lt;span class="help-block"&gt;A longer block of help text that breaks onto a new line and may extend beyond one line.&lt;/span&gt;
 </pre>