diff options
author | Mark Otto <markdotto@gmail.com> | 2013-01-12 12:29:34 +0400 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2013-01-12 12:29:34 +0400 |
commit | 8a167465425f926913e532a780c12578339e8872 (patch) | |
tree | 8b3c89fc51f73a061c2a549df184306b82790bc9 /docs | |
parent | e195457728deb29f1471ae62ae70f008bbff77fd (diff) | |
parent | 684c9d8d05d8bdbb886a23780244d34dbea14338 (diff) |
Merge pull request #6462 from cvrebert/input-required-docs-fix-2.3.0
update 2.3.0 docs to reflect #5786
Diffstat (limited to 'docs')
-rw-r--r-- | docs/base-css.html | 2 | ||||
-rw-r--r-- | docs/templates/pages/base-css.mustache | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/base-css.html b/docs/base-css.html index 5b6877595a..d221abc70d 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1572,7 +1572,7 @@ For example, <code>&lt;section&gt;</code> 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> diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 99724ebfd6..71d8d464d5 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -1509,7 +1509,7 @@ </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> |