]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Make Forms => Default styles code snippet the same as example
authorErik van der Kolk <developer@smerik.nl>
Sat, 18 Aug 2012 12:00:33 +0000 (14:00 +0200)
committerErik van der Kolk <developer@smerik.nl>
Sat, 18 Aug 2012 12:00:33 +0000 (14:00 +0200)
docs/base-css.html
docs/templates/pages/base-css.mustache

index 41ef5526fdd3e5cae8476a0408753d83a0b717b5..5e9cdf7b2839098ed4b4952518c3be2065bb523c 100644 (file)
@@ -842,7 +842,8 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
             <button type="submit" class="btn">Submit</button>
           </form>
 <pre class="prettyprint linenums">
-&lt;form class="well"&gt;
+&lt;form&gt;
+  &lt;legend&gt;Legend&lt;/legend&gt;
   &lt;label&gt;Label name&lt;/label&gt;
   &lt;input type="text" placeholder="Type something…"&gt;
   &lt;span class="help-block"&gt;Example block-level help text here.&lt;/span&gt;
index 28e98439bc287ab5c3a5ec4b1b0fff2887010fbe..a663d4a94567def349645047da3733f6132c74ba 100644 (file)
             <button type="submit" class="btn">{{_i}}Submit{{/i}}</button>
           </form>{{! /example }}
 <pre class="prettyprint linenums">
-&lt;form class="well"&gt;
+&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;