2014-07-18 16:39:39 +08:00
|
|
|
<%
|
|
|
|
@nav_dispaly_contest_label = 1
|
|
|
|
@nav_dispaly_store_all_label = 1
|
|
|
|
@nav_dispaly_forum_label = 1
|
|
|
|
%>
|
2013-08-04 10:59:25 +08:00
|
|
|
<!-- fq -->
|
2013-11-08 10:29:29 +08:00
|
|
|
<!-- modified by huang -->
|
|
|
|
<div class="top-content">
|
|
|
|
<%= form_tag(calls_path, :method => :get) do %>
|
|
|
|
<table width="940px">
|
2013-08-12 20:43:18 +08:00
|
|
|
<tr>
|
2013-12-24 11:19:20 +08:00
|
|
|
<td class="info_font" style="width: 220px; color: #15bccf"><%= l(:label_requirement_enterprise ) %></td>
|
2013-11-08 15:59:08 +08:00
|
|
|
<td class="location-list"><strong><%= l(:label_user_location) %> :</strong></td>
|
2013-11-08 10:29:29 +08:00
|
|
|
<td rowspan="2">
|
|
|
|
<% if User.current.logged? %>
|
2013-08-20 16:32:45 +08:00
|
|
|
<%= link_to(l(:label_new_call), {:controller => 'bids', :action => 'new_bid'}, :class => 'icon icon-add') %>
|
2013-11-08 10:29:29 +08:00
|
|
|
<% end %>
|
|
|
|
</td>
|
|
|
|
<td rowspan="2" >
|
|
|
|
<div class="project-search" style="float: right">
|
|
|
|
<%= text_field_tag 'name', params[:name], :size => 28 %>
|
|
|
|
<%= hidden_field_tag 'reward_type', params[:reward_type] %>
|
|
|
|
<%= hidden_field_tag 'project_type', params[:project_type] %>
|
|
|
|
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2014-02-25 11:27:36 +08:00
|
|
|
<td style="padding-left: 8px"><a><%= link_to request.host()+"/calls", :controller => 'bids', :action => 'index' %> </a></td>
|
2013-11-08 10:29:29 +08:00
|
|
|
<td ><%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_requirement_enterprise), :controller => 'bids', :action => 'index' %></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2013-12-19 19:54:39 +08:00
|
|
|
<% if @bids.size > 0 %>
|
2013-11-08 10:29:29 +08:00
|
|
|
<div id="bid-show">
|
2013-12-19 19:54:39 +08:00
|
|
|
<%= sort_bid(@s_state, @project_type)%>
|
|
|
|
<%= render :partial => 'bid_show', :locals => {:bids => @bids, :bid_pages => @bid_pages} %>
|
2013-11-08 10:29:29 +08:00
|
|
|
</div>
|
2013-12-19 19:54:39 +08:00
|
|
|
<% else %>
|
|
|
|
<%= render :partial => "layouts/no_content"%>
|
|
|
|
<% end %>
|
2013-08-01 10:33:49 +08:00
|
|
|
|
2014-01-02 21:20:57 +08:00
|
|
|
|
|
|
|
<% html_title l(:label_requirement_enterprise_list)%>
|