Commit f59b7ce8 authored by Mark Otto's avatar Mark Otto

add mention of required classes to horizontal forms

parent abf4ecac
...@@ -985,7 +985,7 @@ For example, <code>section</code> should be wrapped as inline. ...@@ -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;
......
...@@ -909,7 +909,7 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment