<commit_before>class CoreChargesHooks < Spree::ThemeSupport::HookListener

  insert_bottom :admin_product_form_right do
    '<%= f.label :core_amount, t("core_amount") %> <br />
      <%= f.select :core_amount, [nil, 25.0, 50.0, 75.0, 100.0, 150.0, 200.0], :class => "text "  %>
      <%= f.error_message_on :core_amount %>'
  end
  
#  insert_after :cart_items do
#    '<%- if @order.core_charges.any? -%><div class="right charge"><h3><%= t("core_charge_total") -%>: <span class="price"><%= number_to_currency(@order.core_charges.map(&:amount).sum) -%></span></h3></div><%- end -%>'
#  end
end<commit_msg>Revert "Typo in hook declaration"<commit_after>class CoreChargesHooks < Spree::ThemeSupport::HookListener

  insert_after :admin_product_form_right do
    '<%= f.label :core_amount, t("core_amount") %> <br />
      <%= f.select :core_amount, [nil, 25.0, 50.0, 75.0, 100.0, 150.0, 200.0], :class => "text "  %>
      <%= f.error_message_on :core_amount %>'
  end
  
#  insert_after :cart_items do
#    '<%- if @order.core_charges.any? -%><div class="right charge"><h3><%= t("core_charge_total") -%>: <span class="price"><%= number_to_currency(@order.core_charges.map(&:amount).sum) -%></span></h3></div><%- end -%>'
#  end
end
{'fraction_non_alphanumeric': 0.21445978878960195, 'fraction_numerical': 0.03736799350121852, 'mean_word_length': 4.524663677130045, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '6507204', 'n_tokens_mistral': 516, 'n_tokens_neox': 471, 'n_words': 83}