]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update docs to reflect #5786 6463/head
authorChris Rebert <github@rebertia.com>
Sun, 6 Jan 2013 01:36:20 +0000 (17:36 -0800)
committerChris Rebert <github@rebertia.com>
Sun, 6 Jan 2013 01:36:20 +0000 (17:36 -0800)
docs/css.html
docs/templates/pages/css.mustache

index 53cd678d03e80d47730106b90d10bc6b3a3d7a20..2dfa3ff3b2b75b6d7dbc1e199ed2bdc00056e354 100644 (file)
@@ -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="test@example.com" required>
           </form>
index 47abef021d6d0eda183807e40d33c2a63960c71f..7674f4956c6a9f15f8baaa30d7937619705d0893 100644 (file)
@@ -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="test@example.com" required>
           </form>