vegantech/sims

View on GitHub
app/views/unattached_interventions/_participant.html.erb

Summary

Maintainability
Test Coverage
<%= div_for participant do %>
  <%  if participant.user %>
  <span <%="style='color:red'" unless participant.intervention.student.belongs_to_user? participant.user  %> >
    <%="#{participant.fullname}" %></span>
  <%= link_to_remote("X",  unattached_intervention_path(participant),:method=>:delete) %>
<% end %>
<% end %>