diff --git a/app/views/admin/deposits/_enable_deposits_form.html.erb b/app/views/admin/deposits/_enable_deposits_form.html.erb index 318ce80f..d6af5d1e 100644 --- a/app/views/admin/deposits/_enable_deposits_form.html.erb +++ b/app/views/admin/deposits/_enable_deposits_form.html.erb @@ -1,5 +1,5 @@
-<%= form_with url: admin_site_options_path, method: :patch do |form| %> +<%= form_with url: admin_site_options_path, method: :patch, local: true do |form| %> <% if deposits_enabled? %> <% action_label = "Disable Deposits" %> <% enable = false %>