%- model_class = Alert -%>
<%= model_class.human_attribute_name(:id) %> | <%= model_class.human_attribute_name(:user_id) %> | <%= model_class.human_attribute_name(:department) %> | <%= model_class.human_attribute_name(:course) %> | <%= model_class.human_attribute_name(:alerted) %> | <%= model_class.human_attribute_name(:created_at) %> | <%=t '.actions', :default => t("helpers.actions") %> |
---|---|---|---|---|---|---|
<%= link_to alert.id, alert_path(alert) %> | <%= alert.user_id %> | <%= alert.department %> | <%= alert.course %> | <%= alert.alerted %> | <%=l alert.created_at %> | <%= 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' %> |