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