<commit_before><div class="page-header">
  <h2>Payment methods</h2>
</div>
<table class="table table-condensed table-striped">
  <thead>
  <tr>
    <th>Plugin</th>
    <th>External id</th>
    <th>Plugin info</th>
    <th>Default Method</th>
    <th>Actions</th>
  </tr>
  </thead>
  <tbody>
  <% if payment_methods.present? && !payment_methods.nil? %>
      <% payment_methods.each do |payment_method| %>
          <tr>
            <td><%= payment_method.plugin_name %></a></td>
            <td>
              <%= payment_method.plugin_info.external_payment_id unless payment_method.plugin_info.blank? %>
            </td>
            <td>
              <% unless payment_method.plugin_info.blank? and payment_method.plugin_info.properties.blank? %>
                  <ul>
                    <% payment_method.plugin_info.properties.each do |property| %>
                        <li><%= property.key %>: <%= property.value %></li>
                    <% end %>
                  </ul>
              <% end %>
            </td>
            <td>
              <% if payment_method.is_default %>
                  <i class="fa fa-ok"></i>
              <% else %>
                  <%= link_to 'Make Default', kaui_engine.set_default_payment_method_account_path(payment_method.account_id, :params => {:payment_method_id => payment_method.payment_method_id}), :method => :put, :confirm => 'Are you sure you want to make this payment method default?', :class => 'btn btn-xs' %><commit_msg>payment_methods: external_payment_id has been renamed to external_payment_method_id<commit_after><div class="page-header">
  <h2>Payment methods</h2>
</div>
<table class="table table-condensed table-striped">
  <thead>
  <tr>
    <th>Plugin</th>
    <th>External id</th>
    <th>Plugin info</th>
    <th>Default Method</th>
    <th>Actions</th>
  </tr>
  </thead>
  <tbody>
  <% if payment_methods.present? && !payment_methods.nil? %>
      <% payment_methods.each do |payment_method| %>
          <tr>
            <td><%= payment_method.plugin_name %></a></td>
            <td>
              <%= payment_method.plugin_info.external_payment_method_id unless payment_method.plugin_info.blank? %>
            </td>
            <td>
              <% unless payment_method.plugin_info.blank? and payment_method.plugin_info.properties.blank? %>
                  <ul>
                    <% payment_method.plugin_info.properties.each do |property| %>
                        <li><%= property.key %>: <%= property.value %></li>
                    <% end %>
                  </ul>
              <% end %>
            </td>
            <td>
              <% if payment_method.is_default %>
                  <i class="fa fa-ok"></i>
              <% else %>
                  <%= link_to 'Make Default', kaui_engine.set_default_payment_method_account_path(payment_method.account_id, :params => {:payment_method_id => payment_method.payment_method_id}), :method => :put, :confirm => 'Are you sure you want to make this payment method default?', :class => 'btn btn-xs' %>
{'fraction_non_alphanumeric': 0.14922925549360447, 'fraction_numerical': 0.0013119055428009183, 'mean_word_length': 2.134635149023638, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 109, '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': '6959693', 'n_tokens_mistral': 963, 'n_tokens_neox': 895, 'n_words': 176}