<% content_for :title, 'Imports' %>

Imports

<%= link_to "New import", new_import_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
<% if @imports.empty? %>

Hello there!

Here you'll find your imports, But now there are none. Let's <%= link_to 'create one', new_import_path, class: 'link' %>!

<% else %>
<% @imports.each do |import| %> <% end %>
Name Imported points Created at
<%= link_to import.name, import, class: 'underline hover:no-underline' %> (<%= import.source %>) <%= "#{number_with_delimiter import.points.size}" %> <%= import.created_at.strftime("%d.%m.%Y, %H:%M") %>
<% end %>