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 %> +