2015-08-18 15:25:36 +08:00
|
|
|
<%= form_tag( url_for(:controller => 'users',:action => 'resource_search',:id=>user.id),
|
2015-08-20 17:38:30 +08:00
|
|
|
:remote=>true ,:method => 'get',:class=>'resourcesSearchloadBox',:id=>'resource_search_form') do %>
|
2015-08-18 17:45:14 +08:00
|
|
|
<input type="text" name="search" placeholder="输入资源关键词进行搜索" class="searchResource" />
|
2015-11-30 10:39:50 +08:00
|
|
|
<%= hidden_field_tag(:type,type.nil? ? 1 : type) %>
|
2015-08-19 17:13:57 +08:00
|
|
|
<%= submit_tag '',:class=>'homepageSearchIcon',:onfocus=>'this.blur();',:style=>'border-style:none' %>
|
2015-08-18 15:25:36 +08:00
|
|
|
<!--<a href="javascript:void(0);" onclick='this.parent.submit();return false;' class="searchIcon"></a>-->
|
|
|
|
<% end %>
|