From c9fdc8677575a62c6a971d82231c4468964047c8 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 12 Apr 2013 13:13:42 -0400 Subject: [PATCH] Update show view to display sections --- app/views/alerts/show.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/alerts/show.html.erb b/app/views/alerts/show.html.erb index a77d25a..ad79a65 100644 --- a/app/views/alerts/show.html.erb +++ b/app/views/alerts/show.html.erb @@ -10,6 +10,8 @@
<%= @alert.department %>
<%= model_class.human_attribute_name(:course) %>:
<%= @alert.course %>
+
<%= model_class.human_attribute_name(:sections) %>:
+
<%= @alert.sections.join(', ') %> 
<%= model_class.human_attribute_name(:semester) %>:
<%= @alert.semester %>
<%= model_class.human_attribute_name(:alerted) %>: