<h1><%= @title %> for <%= @assignment.name %></h1>
<% if !(@map.instance_of? TeammateReviewResponseMap) %>
    <%if @assignment.has_teams?%>
        <% topic_id = SignedUpTeam.topic_id(@participant.parent_id, @participant.user_id) %>
        <%= render :partial => 'submitted_content/main', :locals => {:participant => @contributor.participants.first, :stage => @assignment.get_current_stage(topic_id)} %>
    <%else%>
        <% topic_id = SignedUpTeam.topic_id(@participant.parent_id, @participant.user_id) %>
        <%= render :partial => 'submitted_content/main', :locals => {:participant => @contributor, :stage => @assignment.get_current_stage(topic_id)} %>
    <%end%>
<% end %>
<% @review_versions = @map.get_all_versions() %>
<% if !@review_versions.empty? %>
    <%= @review_versions.each do |response| %>
    	<%= response.display_as_html() %>
        <br/>
    <% end %>
    <hr/>
<% end %>
<% file_url = nil %>


<%= @response.display_as_html(nil, nil, file_url) %>
<br/>

<%= @map.show_feedback(@response) %>
<br/>
<a href="javascript:window.history.back()">Back</a>

<h1><%= @title %> for <%= @assignment.name %></h1>
<% if !(@map.instance_of? TeammateReviewResponseMap) %>
  <% topic_id = SignedUpTeam.topic_id(@participant.parent_id, @participant.user_id) %>
  <%= render :partial => 'submitted_content/main', :locals => {:participant => @contributor.participants.first, :stage => @assignment.get_current_stage(topic_id)} %>
<% end %>
<% @review_versions = @map.get_all_versions() %>
<% if !@review_versions.empty? %>
    <%= @review_versions.each do |response| %>
    	<%= response.display_as_html() %>
        <br/>
    <% end %>
    <hr/>
<% end %>
<% file_url = nil %>


<%= @response.display_as_html(nil, nil, file_url) %>
<br/>

<%= @map.show_feedback(@response) %>
<br/>
<a href="javascript:window.history.back()">Back</a>

Remove code related to individual assignment.
Remove code related to individual assignment.
