% if !@imports.empty? %>
Succesfully imported the following files:
<% @imports.each do |file| %>
- <%= file %>
<% end %>
<% end %>
<%= link_to "Back to Sounds index", sounds_url() %>
<% if @stragglers %>
For whatever reason, the following files were not imported.
Possible reasons could be: non-unique filenames, no matching .mp3 or .m4r file
<% @stragglers.each do |file| %>
- <%= file %>
<% end %>
<% end %>
<%= link_to "Back to Sounds index", sounds_url() %>
<% if @existing %>
These files weren't imported because they already exist in the database.
<% @existing.each do |file| %>
- <%= file %>
<% end %>
<% end %>