1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-06 13:46:42 +02:00

add mention of required classes to horizontal forms

This commit is contained in:
Mark Otto
2012-02-05 01:43:22 -08:00
parent abf4ecac4d
commit f59b7ce8ea
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -985,7 +985,7 @@ For example, <code>section</code> should be wrapped as inline.
</fieldset> </fieldset>
</form> </form>
<h3>Example markup</h3> <h3>Example markup</h3>
<p>Given the above example form layout, here's the markup associated with the first input and control group.</p> <p>Given the above example form layout, here's the markup associated with the first input and control group. The <code>.control-group</code>, <code>.control-label</code>, and <code>.controls</code> classes are all required for styling.</p>
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;form class="form-horizontal"&gt; &lt;form class="form-horizontal"&gt;
&lt;fieldset&gt; &lt;fieldset&gt;

View File

@@ -909,7 +909,7 @@
</fieldset> </fieldset>
</form> </form>
<h3>{{_i}}Example markup{{/i}}</h3> <h3>{{_i}}Example markup{{/i}}</h3>
<p>{{_i}}Given the above example form layout, here's the markup associated with the first input and control group.{{/i}}</p> <p>{{_i}}Given the above example form layout, here's the markup associated with the first input and control group. The <code>.control-group</code>, <code>.control-label</code>, and <code>.controls</code> classes are all required for styling.{{/i}}</p>
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;form class="form-horizontal"&gt; &lt;form class="form-horizontal"&gt;
&lt;fieldset&gt; &lt;fieldset&gt;