|
|
|
@ -2,11 +2,19 @@
|
|
|
|
|
<% contests.each do |contest|%>
|
|
|
|
|
<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(contest.author), :class => 'avatar'), user_path(contest.author), :class => "avatar") %></td>
|
|
|
|
|
<td colspan="2" valign="top" width="50" >
|
|
|
|
|
<% unless contest.author.nil? %>
|
|
|
|
|
<%= link_to(image_tag(url_to_avatar(contest.author), :class => 'avatar'), user_path(contest.author), :class => "avatar") %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<table width="100%" border="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2" valign="top"><strong><%= link_to(contest.author, user_path(contest.author), :class => 'bid_user') %>: <%= link_to(contest.name, show_contest_contest_path(contest), :class => 'bid_path', :target => "_blank") %></strong></td>
|
|
|
|
|
<td colspan="2" valign="top"><strong>
|
|
|
|
|
<% unless contest.author.nil? %>
|
|
|
|
|
<%= link_to(contest.author, user_path(contest.author), :class => 'bid_user') %>:
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= link_to(contest.name, show_contest_contest_path(contest), :class => 'bid_path', :target => "_blank") %></strong></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="500">
|
|
|
|
|