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