% @breadcrumbs = [@project, @import, 'Edit'] %> <%- add_javascript('jquery.dataTables.min.js') -%> <%- add_stylesheet('dataTables.css') -%> <%= error_messages_for @import %> <%- if @import.has_duplicate_keys -%>
There were some records in your dataset with duplicate keys. If any rows are legitimate duplicates, you can check the box to have the row removed. Otherwise, new keys will be automatically generated.
<%- @import.dataset do |ds| -%> <%- primary_key = @import.primary_key_sym -%> <%- ds = ds.filter(~{:dup_key_count => nil}).order(primary_key, :dup_key_count) -%> <%- end -%>