From abf4ecac4dbd378a4985880e27f2897ebca75e7b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 5 Feb 2012 01:41:45 -0800 Subject: add another code example for horizontal forms --- docs/templates/pages/base-css.mustache | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs/templates') 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 @@ +

{{_i}}Example markup{{/i}}

+

{{_i}}Given the above example form layout, here's the markup associated with the first input and control group.{{/i}}

+
+<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>
+

{{_i}}What's included{{/i}}

-- cgit v1.2.3