<% @notifications.each do |notification| %>
  • <%= render partial: "user_notifications/icons/#{notification.type_of}", locals: {notification: notification}, formats: [:html] %>
    <%= sanitize_input(notification.title) %>
    <% if notification.deliver? %> Click the link to download the file.
    <% end %> <%= l(notification.created_at, format: :full) %> | <%= sanitize_input(notification.message) %>
  • <% end %>