<%= link_to(@bid.author.lastname+@bid.author.firstname, user_path(@bid.author))%>:
<%= link_to(@bid.name,respond_path(@bid)) %>
<% if @bid.reward_type.nil? or @bid.reward_type == 1%>
<%= l(:label_bids_reward_method) %>
<%= l(:label_call_bonus) %>
<%= l(:label_RMB_sign) %>
<%= @bid.budget %>
<% elsif @bid.reward_type == 2%>
<%= l(:label_bids_reward_method) %>
<%= @bid.budget%>
<% else %>
<% end %>
<%= textilizable(@bid, :description) %>
<% if @bid.attachments.any?%>
<% options = {:author => true,:deletable => (@bid.author.id == User.current.id || User.current.admin? ? true : false)} %>
<%= render :partial => 'attachments/links', :locals => {:attachments => @bid.attachments, :options => options} %>
<% end %>