1
0
Fork 0

Update show view to display sections

This commit is contained in:
Andrew Tomaka 2013-04-12 13:13:42 -04:00
parent f79bb3eddc
commit c9fdc86775

View file

@ -10,6 +10,8 @@
<dd><%= @alert.department %></dd> <dd><%= @alert.department %></dd>
<dt><strong><%= model_class.human_attribute_name(:course) %>:</strong></dt> <dt><strong><%= model_class.human_attribute_name(:course) %>:</strong></dt>
<dd><%= @alert.course %></dd> <dd><%= @alert.course %></dd>
<dt><strong><%= model_class.human_attribute_name(:sections) %>:</strong></dt>
<dd><%= @alert.sections.join(', ') %>&nbsp;</dd>
<dt><strong><%= model_class.human_attribute_name(:semester) %>:</strong></dt> <dt><strong><%= model_class.human_attribute_name(:semester) %>:</strong></dt>
<dd><%= @alert.semester %></dd> <dd><%= @alert.semester %></dd>
<dt><strong><%= model_class.human_attribute_name(:alerted) %>:</strong></dt> <dt><strong><%= model_class.human_attribute_name(:alerted) %>:</strong></dt>