1
0
Fork 0

Update index to list sections

This commit is contained in:
Andrew Tomaka 2013-04-12 13:14:52 -04:00
parent c9fdc86775
commit a4a6e58bab

View file

@ -9,6 +9,7 @@
<th><%= model_class.human_attribute_name(:user_id) %></th>
<th><%= model_class.human_attribute_name(:department) %></th>
<th><%= model_class.human_attribute_name(:course) %></th>
<th><%= model_class.human_attribute_name(:sections) %></th>
<th><%= model_class.human_attribute_name(:semester) %></th>
<th><%= model_class.human_attribute_name(:alerted) %></th>
<th><%= model_class.human_attribute_name(:created_at) %></th>
@ -22,6 +23,7 @@
<td><%= alert.user_id %></td>
<td><%= alert.department %></td>
<td><%= alert.course %></td>
<td><%= alert.sections.join(', ') %></td>
<td><%= alert.semester %></td>
<td><%= alert.alerted %></td>
<td><%=l alert.created_at %></td>