<pre class="prettyprint linenums">
<form class="well">
<label>Label name</label>
- <input type="text" class="span3" placeholder="Type something…"> <span class="help-inline">Associated help text!</span>
+ <input type="text" class="span3" placeholder="Type something…">
+ <span class="help-inline">Associated help text!</span>
<label class="checkbox">
<input type="checkbox"> Check me out
</label>
</div>
</fieldset>
</form>
+ <h3>Example markup</h3>
+ <p>Given the above example form layout, here's the markup associated with the first input and control group.</p>
+<pre class="prettyprint linenums">
+<form class="form-horizontal">
+ <fieldset>
+ <legend>Legend text</legend>
+ <div class="control-group">
+ <label class="control-label" for="input01">Text input</label>
+ <div class="controls">
+ <input type="text" class="input-xlarge" id="input01">
+ <p class="help-block">Supporting help text</p>
+ </div>
+ </div>
+ </fieldset>
+</form>
+</pre>
</div>
<div class="span4">
<h3>What's included</h3>
</div>
</fieldset>
</form>
+ <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>
+<pre class="prettyprint linenums">
+<form class="form-horizontal">
+ <fieldset>
+ <legend>{{_i}}Legend text{{/i}}</legend>
+ <div class="control-group">
+ <label class="control-label" for="input01">{{_i}}Text input{{/i}}</label>
+ <div class="controls">
+ <input type="text" class="input-xlarge" id="input01">
+ <p class="help-block">{{_i}}Supporting help text{{/i}}</p>
+ </div>
+ </div>
+ </fieldset>
+</form>
+</pre>
</div>
<div class="span4">
<h3>{{_i}}What's included{{/i}}</h3>