Editing import
<%= form_with model: @import, class: 'form-body mt-4' do |form| %>
<%= form.label :name %>
<%= form.text_field :name, class: 'input input-bordered' %>
<%= form.label :source %>
<%= form.select :source, options_for_select(Import.sources.keys.map { |source| [source.humanize, source] }, @import.source), {}, class: 'select select-bordered' %>
<%= form.submit class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %>
<%= link_to "Back to imports", imports_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %>
<% end %>