<commit_before><%= render :partial => 'spree/admin/shared/configuration_menu' %>

<% content_for :page_title do %>
  <%= t(:editing_payment_method) %>
<% end %>

<% content_for :page_actions do %>
  <li>
    <%= button_link_to t(:back_to_payment_methods_list), spree.admin_payment_methods_path, :icon => 'icon-arrow-left' %>
  </li>  
<% end %>

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @payment_method } %>

<%= form_for @payment_method, :url => admin_payment_method_path(@payment_method), :method => :put do |f| %>
  
  <%= render :partial => 'form', :locals => { :f => f } %>
  
  <div data-hook="buttons" class="align-center">
    <%= button t(:update), 'icon-refresh' %>
  </div>

<% end %><commit_msg>No need for :method => :put on payment_method update form<commit_after><%= render :partial => 'spree/admin/shared/configuration_menu' %>

<% content_for :page_title do %>
  <%= t(:editing_payment_method) %>
<% end %>

<% content_for :page_actions do %>
  <li>
    <%= button_link_to t(:back_to_payment_methods_list), spree.admin_payment_methods_path, :icon => 'icon-arrow-left' %>
  </li>  
<% end %>

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @payment_method } %>

<%= form_for @payment_method, :url => admin_payment_method_path(@payment_method) do |f| %>
  <%= render :partial => 'form', :locals => { :f => f } %>
  <div data-hook="buttons" class="align-center">
    <%= button t(:update), 'icon-refresh' %>
  </div>

<% end %>
{'fraction_non_alphanumeric': 0.2047713717693837, 'fraction_numerical': 0.0, 'mean_word_length': 4.78544061302682, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6342467', 'n_tokens_mistral': 576, 'n_tokens_neox': 528, 'n_words': 102}