From b05e112a3ff7277f9d24262a612ebe175554320b Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Tue, 29 Jul 2014 17:47:20 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E9=82=AE=E4=BB=B6=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E9=85=8D=E7=BD=AE=202.=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E7=AB=9E=E8=B5=9B=E4=BD=9C=E5=93=81=E5=9C=A8js=E4=B8=AD?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=8C=E5=A2=9E=E5=8A=A0=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E6=98=AF=E4=B8=8D=E6=98=AF=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E7=9A=84=E5=88=A4=E6=96=AD=203.=E6=9F=A5=E8=AF=A2=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E5=8F=96=E6=B6=88=E6=8C=89=E7=85=A7=E6=97=B6=E9=97=B4?= =?UTF-8?q?/=E6=B4=BB=E8=B7=83=E5=BA=A6=E6=8E=92=E5=BA=8F=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...e_softapplication_index_top_content.html.erb | 17 +++++++++++++++-- app/views/softapplications/_list.html.erb | 2 +- app/views/softapplications/index.html.erb | 2 +- config/configuration.yml | 8 ++++---- 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/app/views/layouts/_base_softapplication_index_top_content.html.erb b/app/views/layouts/_base_softapplication_index_top_content.html.erb index db1e5df56..de9930d91 100644 --- a/app/views/layouts/_base_softapplication_index_top_content.html.erb +++ b/app/views/layouts/_base_softapplication_index_top_content.html.erb @@ -1,3 +1,15 @@ + +
<%= l(:label_user_location) %> : |
- <%= form_tag({:controller => 'softapplications', :action => 'search'}, :method => :get, :remote => true) do %>
+ <%= form_tag({:controller => 'softapplications', :action => 'search'}, :method => :get, :remote => true, :id => "search_softapplications") do %>
<%= text_field_tag 'name', params[:name], :size => 25 %>
<%= hidden_field_tag 'project_type', params[:project_type] %>
- <%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
+
+ <%#= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
<% end %>
|
diff --git a/app/views/softapplications/_list.html.erb b/app/views/softapplications/_list.html.erb
index 9ce6e269b..4f99519b5 100644
--- a/app/views/softapplications/_list.html.erb
+++ b/app/views/softapplications/_list.html.erb
@@ -5,7 +5,7 @@
<%= rating_for softapplication, :static => true, dimension: :quality, class: 'rateable div_inline' %>
-