anchor.diff:    <% end %>
   <% end %>
   
  -  <% if @student.team != nil && @student.assignment.max_team_size>1 %>
  -    <h2>Team Advertisement</h2>
  -
  -    <% if @student.team.advertise_for_partner == true %>
  -      <label><%= @student.team.comments_for_advertisement%></label>
  -      &nbsp;&nbsp;&nbsp;&nbsp;
  -      <%= link_to 'edit', :controller => 'advertise_for_partner', :action => 'edit', :team_id=>@student.team.id %>
  -      <%= link_to 'destroy', :controller => 'advertise_for_partner', :action => 'remove', :team_id=>@student.team.id %>
  -    <% else %>
  -      <%= link_to 'new', :controller => 'advertise_for_partner', :action => 'new', :team_id=>@student.team.id %>
  -    <% end %>
  +
   
     <% if @student.team!=nil %>
       <%= render :partial => 'join_team_requests/list_received',
  
positive.code: <h1>View team for <%= @student.assignment.name %></h1>
  
  <h2>Team members</h2>
  <% if @student.team == nil %>
    You no longer have a team!
  <% else %>
  
    <b>Team Name: </b><%= @student.team.name %>
  
  <%= link_to "Edit Name",
     edit_student_teams_path(team_id: @student.team.id, student_id: @student.id) %>
  
  <div class = "exp"> 
  <table>
    <tr>
      <th class="head">Username</th>
      <th class="head">Full Name</th>
  
negative.code:   <% end %>
  
      <% if @send_invs && @send_invs.length > 0 %>
      <div class = "exp">
        <table style="width:80%; margin-left: 95px">
          <tr><b>Sent Invitations</b></b></tr>
          <tr>
            <td><b>Username</b></td>
            <td><b>Full Name</b></td>
            <td><b>Email Address</b></td>
            <td><b>Status</b></td>
          </tr>
            <% for inv in @send_invs %>
              <tr>
                <td><%= inv.to_user.name %></td>
                <td><%= inv.to_user.fullname %></td>
                <td><%= inv.to_user.email %></td>
                  <% if inv.reply_status == 'A' %>
                    <td>Accepted</td>
                  <% elsif inv.reply_status == 'D' %>
  