<% if @bid.homework_type == Bid::HomeworkFile %> <%= render :partial => 'homework' %> <% else %> <% if User.current.logged? %> <% end %>
<%= render :partial => 'project_list', :locals => {:bidding_project => @bidding_project,:bid => @bid} %>
<% end %>