需求里面增加了搜索功能

This commit is contained in:
huangjingquan 2013-11-04 21:55:47 +08:00
parent be20b2c7fe
commit ea8a87c3a6
1 changed files with 5 additions and 6 deletions

View File

@ -37,18 +37,17 @@
<td style="width: 350px"><strong>当前位置 : </strong></td>
<td rowspan="2" width="350px">
<div class="project-search">
<%= text_field_tag 'name', params[:name], :size => 30 %>
<%= form_tag(calls_path, :method => :get) do %>
<%= text_field_tag 'name', params[:name], :size => 30 %>
<%= hidden_field_tag 'reward_type', params[:reward_type] %>
<%= hidden_field_tag 'project_type', params[:project_type] %>
<%= hidden_field_tag 'project_type', params[:project_type] %>
<%= submit_tag l(:label_search), :class => "small", :name => nil %>
<% end %>
</div>
</td>
</tr>
<tr>
<td style="padding-left: 8px"><a>http://forge.trustie.net</a></td>
<td style="padding-left: 8px"><a>http://forge.trustie.net/calls</a></td>
<td ><%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_requirement_enterprise), :controller => 'bids', :action => 'index' %> > <span><%=link_to @bid.name ,bid_path %></span></td>
</tr>
</table>