diff options
| author | Mark Otto <[email protected]> | 2012-02-05 01:41:45 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-05 01:41:45 -0800 |
| commit | abf4ecac4dbd378a4985880e27f2897ebca75e7b (patch) | |
| tree | f56aae97241d13e8ede02585c982fa0baf4349dd /docs/templates | |
| parent | 83cb1053178241d95b0f53da062a4b742d0313cc (diff) | |
| download | bootstrap-abf4ecac4dbd378a4985880e27f2897ebca75e7b.tar.xz bootstrap-abf4ecac4dbd378a4985880e27f2897ebca75e7b.zip | |
add another code example for horizontal forms
Diffstat (limited to 'docs/templates')
| -rw-r--r-- | docs/templates/pages/base-css.mustache | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 3327594b5..e3420ed09 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -908,6 +908,22 @@ </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> |
