%- model_class = Alert -%>
- <%= model_class.human_attribute_name(:user_id) %>:
- <%= @alert.user_id %>
- <%= model_class.human_attribute_name(:department) %>:
- <%= @alert.department %>
- <%= model_class.human_attribute_name(:course) %>:
- <%= @alert.course %>
- <%= model_class.human_attribute_name(:semester) %>:
- <%= @alert.semester %>
- <%= model_class.human_attribute_name(:alerted) %>:
- <%= @alert.alerted %>
<%= link_to t('.back', :default => t("helpers.links.back")),
alerts_path, :class => 'btn' %>
<%= link_to t('.edit', :default => t("helpers.links.edit")),
edit_alert_path(@alert), :class => 'btn' %>
<%= 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-danger' %>