需求列表 <% if User.current.logged? %>
<%= toggle_link l(:button_new_bid), 'put-bid-form', {:focus => 'project_id'} %>
<% end %>
<% bids.each do |bid|%>
<%= link_to image_tag(url_to_avatar(bid.author), :class => 'avatar'), :class => "avatar" %>
<%= link_to(bid.author, user_path(bid.author), :class => 'bid_user') %>:<%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %>
悬赏:¥<%= bid.budget%> (<%= link_to bid.biding_projects.count, project_for_bid_path(bid)%>)应标 (<%= link_to bid.commit, respond_path(bid)%>)反馈 (<%= link_to bid.watcher_users.count, respond_path(bid)%>)关注
<%= format_time bid.created_on %>
<%= bid.description%>
<% end %>