|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
<% @bid.each do |bids|%>
|
|
|
|
|
<!-- <h2><%= link_to(Project.find(bids[0]).name, project_path(bids[0])) %></h2> -->
|
|
|
|
|
<% for bid in bids[1] %>
|
|
|
|
|
<% if @user == bid.author %>
|
|
|
|
|
<% if @user == bid.author%>
|
|
|
|
|
<table width="95%" border="0" style="padding-left: 10px; padding-top: 10px;">
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2" valign="top" width="50" ><%= link_to(image_tag(url_to_avatar(bid.author), :class => 'avatar'), user_path(bid.author), :class => "avatar") %></td>
|
|
|
|
@ -13,8 +13,7 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2" valign="top"><strong><%= link_to(bid.author.lastname+bid.author.firstname, user_path(bid.author), :class => 'bid_user') %>:
|
|
|
|
|
<%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %>
|
|
|
|
|
<%= l(:label_course_homework) %> : <%= link_to(bid.courses.first.name, project_path(bid.courses.first)) %></strong> </span>
|
|
|
|
|
<span style="float: right"><%= link_to(
|
|
|
|
|
<%= l(:label_course_homework) %> : <%= link_to(bid.courses.first.name, project_path(bid.courses.first)) %></strong> </span> <span style="float: right"> <%= link_to(
|
|
|
|
|
l(:button_delete),
|
|
|
|
|
{:action => 'homework_destroy', :controller=>'bids', :course_id => bid.id},
|
|
|
|
|
:method => :post,
|
|
|
|
|