Skip to content

Commit

Permalink
Fix EZP-22282: ez-autocomplete div is nested in a p tag in the search…
Browse files Browse the repository at this point in the history
… results template
  • Loading branch information
crevillo committed Jan 31, 2014
1 parent 145c450 commit c01d521
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions design/ezwebin/templates/content/search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,11 @@
<h1 class="long">{"Search"|i18n("design/ezwebin/content/search")}</h1>
</div>
<p>
<div class="yui3-skin-sam ez-autocomplete">
<input class="halfbox" type="text" size="20" name="SearchText" id="Search" value="{$search_text|wash}" />
<input class="button" name="SearchButton" type="submit" value="{'Search'|i18n('design/ezwebin/content/search')}" />
</div>
</p>
{if $search_extras.spellcheck_collation}
{def $spell_url=concat('/content/search/',$search_text|count_chars()|gt(0)|choose('',concat('?SearchText=',$search_extras.spellcheck_collation|urlencode)))|ezurl}
<p>{'Spell check suggestion: did you mean'|i18n('design/ezfind/search')} <b>{concat("<a href=",$spell_url,">")}{$search_extras.spellcheck_collation}</a></b> ?</p>
Expand Down

0 comments on commit c01d521

Please sign in to comment.