aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-01-05 17:36:20 -0800
committerChris Rebert <[email protected]>2013-01-05 17:36:20 -0800
commit206205a6b2a214fbdc76cfb5e9c63706bb11e0ea (patch)
tree1c07daec36c225fcf60d91d897e7dc86f33d59c2 /docs
parent5a2dc0b897968838cf09e0ff990b3a411623ed68 (diff)
downloadbootstrap-206205a6b2a214fbdc76cfb5e9c63706bb11e0ea.tar.xz
bootstrap-206205a6b2a214fbdc76cfb5e9c63706bb11e0ea.zip
update docs to reflect #5786
Diffstat (limited to 'docs')
-rw-r--r--docs/css.html2
-rw-r--r--docs/templates/pages/css.mustache2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/css.html b/docs/css.html
index 53cd678d0..2dfa3ff3b 100644
--- a/docs/css.html
+++ b/docs/css.html
@@ -1613,7 +1613,7 @@ For example, &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; should be wrapped
</pre>
<h3 id="forms-invalid-inputs">Invalid inputs</h3>
- <p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code> and add the <code>required</code> attribute.</p>
+ <p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code>, add the <code>required</code> attribute if the field is not optional, and (if applicable) specify a <code>pattern</code>.</p>
<form class="bs-docs-example form-inline">
<input class="span3" type="email" placeholder="[email protected]" required>
</form>
diff --git a/docs/templates/pages/css.mustache b/docs/templates/pages/css.mustache
index 47abef021..7674f4956 100644
--- a/docs/templates/pages/css.mustache
+++ b/docs/templates/pages/css.mustache
@@ -1553,7 +1553,7 @@ For example, &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; should be wrapped
</pre>
<h3 id="forms-invalid-inputs">Invalid inputs</h3>
- <p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code> and add the <code>required</code> attribute.</p>
+ <p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code>, add the <code>required</code> attribute if the field is not optional, and (if applicable) specify a <code>pattern</code>.</p>
<form class="bs-docs-example form-inline">
<input class="span3" type="email" placeholder="[email protected]" required>
</form>