]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add form help-* documentation 1459/head
authornkryptic <nkryptic@gmail.com>
Tue, 31 Jan 2012 08:54:07 +0000 (03:54 -0500)
committernkryptic <nkryptic@gmail.com>
Tue, 31 Jan 2012 08:54:07 +0000 (03:54 -0500)
docs/base-css.html
docs/templates/pages/base-css.mustache

index 90240747b3e8e256810f598da3e386bfef2a9999..2e4e116db40b34b4da679c08496ea99e50dc53e4 100644 (file)
@@ -1155,7 +1155,7 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
                 <input type="checkbox" name="optionsCheckboxList3" value="option3">
                 Option three can&mdash;yes, you guessed it&mdash;also be checked and included in form results
               </label>
-              <p class="help-text"><strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.</p>
+              <p class="help-block"><strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.</p>
             </div>
           </div>
           <div class="control-group">
@@ -1188,6 +1188,9 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
       <hr>
       <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>
+      <hr>
+      <h4>Form help text</h4>
+      <p>To add help text for your form inputs, include inline help text with <code>&lt;span class="help-inline"&gt;</code> or a help text block with <code>&lt;p class="help-block"&gt;</code> after the input element.</p>
     </div>
   </div><!-- /row -->
 </section>
index 34ac69cd7cfa9321aa692a817d38bef635a0c09f..cc0b2a1eac030ac3dead866977fa2915ad6622fa 100644 (file)
                 <input type="checkbox" name="optionsCheckboxList3" value="option3">
                 {{_i}}Option three can&mdash;yes, you guessed it&mdash;also be checked and included in form results{{/i}}
               </label>
-              <p class="help-text">{{_i}}<strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.{{/i}}</p>
+              <p class="help-block">{{_i}}<strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.{{/i}}</p>
             </div>
           </div>
           <div class="control-group">
       <hr>
       <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>
+      <hr>
+      <h4>{{_i}}Form help text{{/i}}</h4>
+      <p>{{_i}}To add help text for your form inputs, include inline help text with <code>&lt;span class="help-inline"&gt;</code> or a help text block with <code>&lt;p class="help-block"&gt;</code> after the input element.{{/i}}</p>
     </div>
   </div><!-- /row -->
 </section>