From 3475e5deeb3678e3b005ccecc8f01898e9e4f6a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Por=C4=99bski?= Date: Tue, 5 Dec 2023 17:34:42 +0100 Subject: [PATCH] update form view partial --- app/views/spree/admin/payment_methods/_form.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/payment_methods/_form.html.erb b/app/views/spree/admin/payment_methods/_form.html.erb index d3a0081de4..df01f113f6 100644 --- a/app/views/spree/admin/payment_methods/_form.html.erb +++ b/app/views/spree/admin/payment_methods/_form.html.erb @@ -56,6 +56,7 @@ + <% unless @object.new_record? %>
@@ -63,7 +64,6 @@
- <% unless @object.new_record? %> <% if preference_fields(@object, f).empty? %> <%= Spree.t('no_payment_provider_settings_message') %> <% end %> @@ -72,10 +72,11 @@ <% if @object.respond_to?(:preferences) %>
<%= Spree.t(:provider_settings_warning) %>
<% end %> - <% end %>
+ <% end %> +