Commit 42f63603 authored by Mark Otto's avatar Mark Otto
Browse files

fix #2716, incorrect required markup for navbar search form

parent e0c85fb6
Showing with 2 additions and 2 deletions
+2 -2
No preview for this file type
...@@ -1055,7 +1055,7 @@ ...@@ -1055,7 +1055,7 @@
<input type="text" class="span2"> <input type="text" class="span2">
</form> </form>
</pre> </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"> <pre class="prettyprint linenums">
&lt;form class="navbar-search pull-left"&gt; &lt;form class="navbar-search pull-left"&gt;
&lt;input type="text" class="search-query" placeholder="Search"&gt; &lt;input type="text" class="search-query" placeholder="Search"&gt;
......
...@@ -979,7 +979,7 @@ ...@@ -979,7 +979,7 @@
&lt;input type="text" class="span2"&gt; &lt;input type="text" class="span2"&gt;
&lt;/form&gt; &lt;/form&gt;
</pre> </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"> <pre class="prettyprint linenums">
&lt;form class="navbar-search pull-left"&gt; &lt;form class="navbar-search pull-left"&gt;
&lt;input type="text" class="search-query" placeholder="{{_i}}Search{{/i}}"&gt; &lt;input type="text" class="search-query" placeholder="{{_i}}Search{{/i}}"&gt;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment