<commit_before><h1><%= t(:new_promotion) %></h1>

<%= form_for :promotion, :url => spree.admin_promotions_url do |f| %>
  <%= render :partial => 'form', :locals => { :f => f } %>
  <%= render :partial => 'spree/admin/shared/new_resource_links' %>
<% end %><commit_msg>use collection_url for consistency's sake in admin/promotions/new<commit_after><h1><%= t(:new_promotion) %></h1>

<%= form_for :promotion, :url => collection_url do |f| %>
  <%= render :partial => 'form', :locals => { :f => f } %>
  <%= render :partial => 'spree/admin/shared/new_resource_links' %>
<% end %>
{'fraction_non_alphanumeric': 0.22916666666666666, 'fraction_numerical': 0.006944444444444444, 'mean_word_length': 5.138297872340425, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 27, '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': '5028564', 'n_tokens_mistral': 231, 'n_tokens_neox': 210, 'n_words': 44}