<%= l(:label_crm_csv_import) %>

<% if @import.unsaved_items.count == 0 %>

<%= l(:notice_import_finished, :count => @import.saved_items.count) %>

    <% @import.saved_objects.each do |imported_object| %>
  1. <%= importer_link_to_object imported_object %>
  2. <% end %> <% else %>

    <%= l(:notice_import_finished_with_errors, :count => @import.unsaved_items.count, :total => @import.total_items) %>

    <% @import.unsaved_items.each do |item| %> <% end %>
    Position Message
    <%= item.position %> <%= simple_format_without_paragraph item.message %>
    <% end %>