+
+
+ <%= link_to image_tag(url_to_avatar(b_project.project), :class => 'avatar3'), :class => "avatar" %>
+ |
+
+
+
+
+ <%= link_to(b_project.project.name, project_path(b_project.project)) %>
+ <%= l(:label_join_bidding)%>
+ |
+
+
+
+
+ <% if get_prize(b_project).nil? or get_prize(b_project) == "" %>
+ 未评奖
+ <% else %>
+ <%= get_prize(b_project) %>
+ <% end %>
+
+ |
+
+
+ <% if User.current.id == @bid.author_id %>
+
+ <%= toggle_link '评价', b_project.id.to_s %>
+ |
+ <% end %>
+
+
+
+ <%= b_project.project.description %> |
+
+
+
+
+ <%= b_project.created_at%>
+ |
+
+ |
+
+
+
+ <%= form_for "set_reward",:remote=>true,:url=>set_reward_path do |f| %>
+ <%= f.text_field :b_id,:style => "display:none",:value => b_project.id,:size=>"0" %>
+ <%= f.text_field :reward,:size=>"10",:require=>true,:maxlength => 10,:minlength=>1 %>
+ <%= f.submit "提交",:class=>"submit" %>
+
+ <% end %>
+
+ |
+
+
+
+
+
+ <%= l(:label_bidding_user) %>
+ <%= link_to(b_project.user.name, user_path(b_project.user)) %>
+ |
+
+
+ <%= l(:label_bidding_reason) %><%= b_project.description %> |
+
+
+ |
+
+