<% if participant.get_hyperlinks.length > 0 %>
	<%= render :partial => 'submitted_content/hyperlink', :locals => {:participant => participant} %>
<% end %>
<% if stage != "Complete" and controller.controller_name == 'submitted_content' %>
  <%= form_tag :action=>'submit_hyperlink', :id => participant.id do %> 
	 <b>Submit a hyperlink:</b><BR/>
   <input type="text" name="submission" size=40 value="http://"><input type="submit" name="upload_link" value="Upload link"/>
	<% end %>
<% end %>	

<% if participant.assignment.wiki_type_id == 1%>
  <%= render :partial => 'submitted_files', :locals => {:participant => participant, :stage => stage} %>
    <br/><br/><br/><b>
    <%= link_to "Code Review Dashboard" , :controller => 'review_files',
                :action => 'show_all_submitted_files',
                :participant_id => participant.id,
                :stage => stage %>
    </b><br/>
<% else %> 
  <%= render :partial => 'submitted_content/wiki', :locals => {:participant => participant} %>
<% end %>
<br/>

<% if participant.get_hyperlinks.try(:length) || 0 > 0 %>
	<%= render :partial => 'submitted_content/hyperlink', :locals => {:participant => participant} %>
<% end %>
<% if stage != "Complete" and controller.controller_name == 'submitted_content' %>
  <%= form_tag :action=>'submit_hyperlink', :id => participant.id do %> 
	 <b>Submit a hyperlink:</b><BR/>
   <input type="text" name="submission" size=40 value="http://"><input type="submit" name="upload_link" value="Upload link"/>
	<% end %>
<% end %>	

<% if participant.assignment.wiki_type_id == 1%>
  <%= render :partial => 'submitted_files', :locals => {:participant => participant, :stage => stage} %>
    <br/><br/><br/><b>
    <%= link_to "Code Review Dashboard" , :controller => 'review_files',
                :action => 'show_all_submitted_files',
                :participant_id => participant.id,
                :stage => stage %>
    </b><br/>
<% else %> 
  <%= render :partial => 'submitted_content/wiki', :locals => {:participant => participant} %>
<% end %>
<br/>

Allow for empty scores in view_my_scores
Allow for empty scores in view_my_scores
