%= form_with(model: import, class: "contents") do |form| %>
<% if import.errors.any? %>
<%= pluralize(import.errors.count, "error") %> prohibited this import from being saved:
<% import.errors.each do |error| %>
- <%= error.full_message %>
<% end %>
<% end %>
<%= form.submit class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %>
<% end %>