<%= link_to image_tag(url_to_avatar(@bid.author), :class => "avatar"), user_path(@bid.author), :class => "avatar" %> <% if @bid.reward_type.nil? or @bid.reward_type == 1%> <% elsif @bid.reward_type == 2%> <% else %> <% end %>

<%= link_to(@bid.author.name, user_path(@bid.author))%>:<%= @bid.name %>

<%= l(:label_bids_reward_method) %><%= l(:label_call_bonus) %> <%= @bid.budget%><%= l(:label_RMB_sign) %><%= l(:label_bids_reward_method) %><%= @bid.budget%><%= l(:label_bids_reward_method) %><%= l(:label_bids_grade) %> <%= @bid.budget%><%= l(:label_bids_grade_number) %>
<%= @bid.description %>
<%= render :partial => 'history', :locals => { :bid => @bid, :journals => @jour, :state => false} %>