trustie2 remove search validate keywords null

This commit is contained in:
nigel 2017-02-16 23:44:00 +08:00
parent d1b8578317
commit 6c4fbbdf2d
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@
</style>
<%###################search topics###########################%>
<%= form_tag({controller: :relative_memos, action: :search }, method: :get, :target => :_blank, :onsubmit=>'return validate_form(this)') do %>
<%= form_tag({controller: :relative_memos, action: :search }, method: :get, :target => :_blank) do %>
<div class="project-search" style="float: right">
<div class='search_widget' style="display: none;">
<%= text_field_tag :name, nil, placeholder:'请输入要搜索的关键字', :size => 27, :class => "topics-search-text-field" %>
@ -122,7 +122,7 @@
<%###################search topics###########################%>
<%= form_tag({controller: :open_source_projects, action: :search }, method: :get, :target => :_blank, :onsubmit=>'return validate_form(this)') do %>
<%= form_tag({controller: :open_source_projects, action: :search }, method: :get, :target => :_blank) do %>
<div class="project-search" style="float: right; margin-right: 10px;">
<div class='search_widget'>
<%= text_field_tag :name, nil, placeholder:'请输入要搜索的关键字',