<% bidding_project.each do |b_project|%>
<%= link_to image_tag(url_to_avatar(b_project.project), :class => 'avatar3'), :class => "avatar" %>
<% if User.current.id == @bid.author_id %> <% end %>
<%= link_to(b_project.project.name, project_path(b_project.project)) %> <%= l(:label_join_bidding)%> <%if @bid.reward_type == 2%> <% if get_prize(b_project).nil? or get_prize(b_project) == "" %> 未评奖 <% else %> <% case get_prize(b_project) %> <% when '0' %> <%= image_tag("/images/bid/first_reward.png")%> <% when '1' %> <%= image_tag("/images/bid/second_reward.png")%> <% when '2' %> <%= image_tag("/images/bid/qualified.png")%> <%end%> <% end %> <% end %> <%= toggle_link '评价', b_project.id.to_s %>
<%= b_project.project.description %>
<%= b_project.created_at%>
<%= l(:label_bidding_user) %> <%= link_to(b_project.user.name, user_path(b_project.user)) %>
<%= l(:label_bidding_reason) %><%= b_project.description %>
<% end %>