<%= link_to 'Delete', polymorphic_path([main_app, file_set]),
method: :delete, title: "Delete #{file_set}",
data: {confirm: "Deleting #{file_set} from #{application_name} is permanent. Click OK to delete this from #{application_name}, or Cancel to cancel this operation"} %>