<%- model_class = Alert -%> <% @alerts.each do |alert| %> <% end %>
Class Sections Semester Alerted Created <%=t '.actions', :default => t("helpers.actions") %>
<%= alert.course_name %> <%= alert.sections.reject { |v| v.blank? }.join(', ') %> <%= alert.semester %> <%= alert.alerted %> <%= alert.created_at.to_datetime.strftime("%d %b %Y") %> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_alert_path(alert), :class => 'btn btn-mini' %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), alert_path(alert), :method => :delete, :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-mini btn-danger' %>
<%= link_to t('.new', :default => t("helpers.links.new")), new_alert_path, :class => 'btn btn-primary' %>