vegantech/sims

View on GitHub
app/views/grouped_progress_entries/index.html.erb

Summary

Maintainability
Test Coverage
<h1>Grouped Progress Monitor Entries 
  <%=link_to(help_popup("Group Data Step by Step docx (Click to download)"),"http://www.vegantech.com/sims/doc/group_data_step_by_step_directions6.2010.docx") %>
</h1>

Groups appear when at least two students with interventions where:

<ul>
  <li> You are a participant. </li>
  <li> There is the same progress monitor assigned. (One must be selected.)</li>
  <li> The interventions are active and are the same title, category, objective, and goal.</li>
  <li> The students match your search criteria. </li>
</ul>


<table>
  <tr>
    <th>Intervention</th>
    <th>Students</th>
    <th></th>
    <th></th>
  </tr>

<% @grouped_progress_entries.each do |grouped_progress_entry| %>
  <tr>
    <td><%= grouped_progress_entry %></td>
    <td><%= grouped_progress_entry.student_count %></td>
    <td><%= link_to 'Assign Scores', edit_grouped_progress_entry_path(grouped_progress_entry) %></td>
    <td><%= link_to 'View/Print', grouped_progress_entry_path(grouped_progress_entry) %></td>
  </tr>
<% end %>
</table>