diff --git a/app/views/bids/_bid_show.html.erb b/app/views/bids/_bid_show.html.erb index c76043317..35a1b3a40 100644 --- a/app/views/bids/_bid_show.html.erb +++ b/app/views/bids/_bid_show.html.erb @@ -1,6 +1,6 @@ - + -<% bids.each do |bid|%> + + + + +<% bids.each do |bid|%> + + + + + + +
<%= link_to(image_tag(url_to_avatar(bid.author), :class => 'avatar'), user_path(bid.author), :class => "avatar") %> + + + + + + + + + + +
<%= link_to(bid.author, user_path(bid.author)) %> 发布了 <%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %>
<%= l(:label_price) %><%= l(:label_RMB_sign) %><%= bid.budget%>
+ <%= bid.description%> +
+ + + + +
<%= l(:label_competitive_bidding) %>(<%= link_to bid.biding_projects.count, project_for_bid_path(bid),:class=> "bids_user" %>)
<%= l(:label_responses) %>(<%= link_to bid.commit, respond_path(bid),:class=> "bids_user" %>)
<%= l(:label_followers) %>(<%= link_to bid.watcher_users.count, respond_path(bid),:class=> "bids_user" %>)
截止时间 : <%= format_time bid.created_on %>
+<% end %> +