Skip to content

Commit

Permalink
Merge pull request twbs#6462 from cvrebert/input-required-docs-fix-2.3.0
Browse files Browse the repository at this point in the history
update 2.3.0 docs to reflect twbs#5786
  • Loading branch information
mdo committed Jan 12, 2013
2 parents e195457 + 684c9d8 commit 8a16746
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/base-css.html
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,7 @@ <h3>Input focus</h3>
</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="[email protected]" required>
</form>
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/pages/base-css.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]" required>
</form>
Expand Down

0 comments on commit 8a16746

Please sign in to comment.