modify search bar action http
This commit is contained in:
parent
d34253bdfc
commit
f1f08e150b
|
@ -63,9 +63,9 @@
|
|||
|
||||
<% content_for :top_field do%>
|
||||
<div style="margin: 10px 5%;">
|
||||
<%= form_for('#', :remote => true) do |f| %>
|
||||
<%= f.text_field :name, size:"100", placeholder:'请输入要搜索的关键字' %>
|
||||
<%= f.submit value:"search", class:"whiteButton m3p10 h30"%>
|
||||
<%= form_tag( search_stores_path, method: 'get') do %>
|
||||
<%= text_field_tag 'name', nil, size:"100", placeholder:'请输入要搜索的关键字' %>
|
||||
<%= submit_tag l(:label_search), class:"whiteButton m3p10 h30"%>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue