]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix #2716, incorrect required markup for navbar search form
authorMark Otto <markotto@twitter.com>
Fri, 23 Mar 2012 00:22:19 +0000 (17:22 -0700)
committerMark Otto <markotto@twitter.com>
Fri, 23 Mar 2012 00:22:19 +0000 (17:22 -0700)
docs/assets/bootstrap.zip
docs/components.html
docs/templates/pages/components.mustache

index 2f10c7654e0e2d68047b8214aeace4ef792a0514..7cd6216dad1c253083004c7e60dcdaeb4d981e25 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index a8979729e41578a502afd4b1f618ed1810803d3d..518c38ddbffd78a9460c528dffd95f27f709da4f 100644 (file)
   &lt;input type="text" class="span2"&gt;
 &lt;/form&gt;
 </pre>
-      <p>For a more customized search form, add the <code>.navbar-search</code> class to receive specialized styles in the navbar.</p>
+      <p>For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.</p>
 <pre class="prettyprint linenums">
 &lt;form class="navbar-search pull-left"&gt;
   &lt;input type="text" class="search-query" placeholder="Search"&gt;
index a3aabe966f79e19cb5bcab9a6bf515e36893b8e0..3ca43a2063e8e78554de086d9747b2591d113a34 100644 (file)
   &lt;input type="text" class="span2"&gt;
 &lt;/form&gt;
 </pre>
-      <p>{{_i}}For a more customized search form, add the <code>.navbar-search</code> class to receive specialized styles in the navbar.{{/i}}</p>
+      <p>{{_i}}For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.{{/i}}</p>
 <pre class="prettyprint linenums">
 &lt;form class="navbar-search pull-left"&gt;
   &lt;input type="text" class="search-query" placeholder="{{_i}}Search{{/i}}"&gt;