tip
This commit is contained in:
parent
29a8d1b9f5
commit
8bd9c0c7af
|
@ -54,7 +54,7 @@
|
||||||
<% name = name%>
|
<% name = name%>
|
||||||
|
|
||||||
<%= form_tag({controller: :welcome, action: :search },:class=>'navHomepageSearchBox', method: :get) do %>
|
<%= form_tag({controller: :welcome, action: :search },:class=>'navHomepageSearchBox', method: :get) do %>
|
||||||
<input type="text" name="q" value="<%= name.nil? ? "" : name%>" id="navHomepageSearchInput" class="navHomepageSearchInput" placeholder="请输入关键词进行搜索公开的课程,项目,用户,以及资源"/>
|
<input type="text" name="q" value="<%= name.nil? ? "" : name%>" id="navHomepageSearchInput" class="navHomepageSearchInput" placeholder="请输入关键词搜索公开的课程、项目、用户以及资源"/>
|
||||||
<input type="hidden" name="search_type" id="type" value="all"/>
|
<input type="hidden" name="search_type" id="type" value="all"/>
|
||||||
<input type="text" style="display: none;"/>
|
<input type="text" style="display: none;"/>
|
||||||
<a href="javascript:void(0);" class="homepageSearchIcon" onclick="search_in_header($(this));"></a>
|
<a href="javascript:void(0);" class="homepageSearchIcon" onclick="search_in_header($(this));"></a>
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<% name = name%>
|
<% name = name%>
|
||||||
|
|
||||||
<%= form_tag({controller: :welcome, action: :search },:class=>'navHomepageSearchBox', method: :get) do %>
|
<%= form_tag({controller: :welcome, action: :search },:class=>'navHomepageSearchBox', method: :get) do %>
|
||||||
<input type="text" name="q" value="<%= name.nil? ? "" : name%>" id="navHomepageSearchInput" class="navHomepageSearchInput" placeholder="请输入关键词进行搜索公开的课程,项目,用户,以及资源" onkeypress="search_in_header_I(event,$(this));"/>
|
<input type="text" name="q" value="<%= name.nil? ? "" : name%>" id="navHomepageSearchInput" class="navHomepageSearchInput" placeholder="请输入关键词搜索公开的课程、项目、用户以及资源" onkeypress="search_in_header_I(event,$(this));"/>
|
||||||
<input type="hidden" name="search_type" id="type" value="all"/>
|
<input type="hidden" name="search_type" id="type" value="all"/>
|
||||||
<input type="text" style="display: none;"/>
|
<input type="text" style="display: none;"/>
|
||||||
<a href="javascript:void(0);" class="homepageSearchIcon" onclick="search_in_header($(this));"></a>
|
<a href="javascript:void(0);" class="homepageSearchIcon" onclick="search_in_header($(this));"></a>
|
||||||
|
|
Loading…
Reference in New Issue