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

index d0fdbeb725f688a3c0c668fe9ba97776b319eaa8..9cc68382d9b434c2691e5a54d3a32f6d87304a80 100644 (file)
@@ -1572,7 +1572,7 @@ For example, &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; should be wrapped
 </pre>
 
           <h3>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 efb69bdae3eb17e3bf1bc685cf56f0d9daed6847..27a544226328e3782a762185375c13cd64584d7a 100644 (file)
 </pre>
 
           <h3>{{_i}}Invalid inputs{{/i}}</h3>
-          <p>{{_i}}Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code> and add the <code>required</code> attribute.{{/i}}</p>
+          <p>{{_i}}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>.{{/i}}</p>
           <form class="bs-docs-example form-inline">
             <input class="span3" type="email" placeholder="test@example.com" required>
           </form>