Permalink
Browse files

Show topic information at student's 'Your work' view.

  • Loading branch information...
1 parent de32094 commit 1ae3387107b4a96dfe6f48a4517e2709bda25e95 @mgdelcar mgdelcar committed Mar 26, 2011
@@ -0,0 +1,2 @@
+<h1>Submit work for <%= @assignment.name %></h1>
+<h2><%= if @participant.topic then @participant.topic.topic_identifier + ": " + @participant.topic.topic_name end %></h2>
@@ -1,5 +1,5 @@
-<h1>Submit work for <%= @assignment.name %></h1>
-
+<%= render :partial => 'submitted_content/title' %>
+
<%@stage = @assignment.get_current_stage(@participant.topic_id)%>
<%= render :partial => 'submitted_content/main', :locals => {:participant => @participant, :stage => @stage} %>
<BR/>
@@ -1,4 +1,4 @@
-<h1>Submit work for <%= @assignment.name %></h1>
+<%= render :partial => 'submitted_content/title' %>
<%= render :partial => 'submitted_content/main', :locals => {:participant => @participant, :stage => @assignment.get_current_stage(@participant.topic_id)} %>

0 comments on commit 1ae3387

Please sign in to comment.