diff --git a/app/views/bids/show.html.erb b/app/views/bids/show.html.erb index 22cc1dcd4..78ef3a566 100644 --- a/app/views/bids/show.html.erb +++ b/app/views/bids/show.html.erb @@ -1,49 +1,34 @@ - -
<%= image_tag(url_to_avatar(@bid.author), :class => "avatar")%> | -
|
- - - - <%= render :partial => "/praise_tread/praise_tread", - :locals => {:obj => @bid,:show_flag => true,:user_id =>User.current.id}%> - - | -
+ <%= @bid.description %> +
+ <% if @bid.attachments.any?%> + <% options = {:author => true} %> + <%= render :partial => 'attachments/links', + :locals => {:attachments => @bid.attachments, :options => options} %> + <% end %> + + <%= render :partial => "/praise_tread/praise_tread", + :locals => {:obj => @bid,:show_flag => true,:user_id =>User.current.id}%> + + + + -