+
<%= 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"%>
+ <%= text_field_tag 'name', nil, size:"100", placeholder:'请输入要搜索的关键字', :class => 'blueinputbar' %>
+ <%= submit_tag l(:label_search), class:"whiteButton", style: "padding: 0px 10px;"%>
<% end %>
<% end %>
@@ -79,17 +126,17 @@
- 文件名 |
- 下载次数 |
- 下载 |
+ <%=l(:label_attachment)%> |
+ <%=l(:field_downloads)%> |
+ <%=l(:button_download)%> |
<% k.each do |c1|%>
<%= link_to c1.filename, (attachFromUrl c1), {:title => c1.filename, :target => "_blank"} %> |
- <%= c1.downloads %> |
- <%= link_to_attachment c1, {:text => "下载"}%> |
+ <%= c1.downloads %> |
+ <%= link_to_attachment c1, {:text => "下载"}%> |
<% end %>
diff --git a/app/views/stores/search.html.erb b/app/views/stores/search.html.erb
index 13aefcbee..35fac9017 100644
--- a/app/views/stores/search.html.erb
+++ b/app/views/stores/search.html.erb
@@ -1,7 +1,116 @@
+
<% content_for :top_field do%>
<%= form_tag( search_stores_path, method: 'get') do %>
- <%= text_field_tag 'name', nil, size:"100", placeholder:'请输入要搜索的关键字', :value => params[:name] %>
+ <%= text_field_tag 'name', nil, size:"100", placeholder:'请输入要搜索的关键字', :value => params[:name] , :class => 'blueinputbar'%>
<%= submit_tag l(:label_search), class:"whiteButton m3p10 h30"%>
<% end %>