0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Make Forms => Default styles code snippet the same as example

This commit is contained in:
Erik van der Kolk 2012-08-18 14:00:33 +02:00
parent 0c24f51d2a
commit 7f5aa177f5
2 changed files with 4 additions and 2 deletions

View File

@ -842,7 +842,8 @@ For example, <code>section</code> 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;

View File

@ -779,7 +779,8 @@
<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;