diff --git a/Gemfile b/Gemfile index 68d1af0..fc4ab30 100644 --- a/Gemfile +++ b/Gemfile @@ -24,6 +24,7 @@ group :test do gem 'rspec', '~> 3.10' gem 'rspec-rails', '~> 5.0' gem 'factory_bot_rails', '~> 6.2' + gem 'factory_bot', '< 6.4' gem 'database_cleaner-active_record', require: false gem 'database_cleaner-mongoid', require: false end diff --git a/app/views/rails_admin/main/import.html.erb b/app/views/rails_admin/main/import.html.erb index 70f7e2c..995120e 100644 --- a/app/views/rails_admin/main/import.html.erb +++ b/app/views/rails_admin/main/import.html.erb @@ -11,7 +11,7 @@ %> <%= render "results" %> -<%= form_tag import_path(@abstract_model), :multipart => true, class: 'form-horizontal denser' do %> +<%= form_tag import_path(@abstract_model), :multipart => true, class: 'form-horizontal denser', data: { turbo: false } do %> /
@@ -53,7 +53,7 @@ <%= t("admin.import.update_if_exists") %>
- <%= check_box_tag :update_if_exists, '1', RailsAdminImport.config.update_if_exists, :class => "form-control" %> + <%= check_box_tag :update_if_exists, '1', RailsAdminImport.config.update_if_exists %>

<%= t('admin.import.help.update_if_exists') %>